e68683138d
Python package. Python 2.7. |
||
---|---|---|
sms_counter | ||
.gitignore | ||
LICENSE | ||
README.md | ||
setup.py |
sms-counter-python
sms-counter-python is a lib that help to count characters of SMS messages.
Get it now
$ pip install git+https://github.com/dedayoa/sms-counter-python.git#egg=sms_counter
Support
- Python 2
- Python 3
Requirements
sms-counter-python has no external dependencies outside of the Python standard library
Usage
from sms_counter import SMSCounter
>>> counter = SMSCounter.count('ǂ some-string-to-be-counted ');
>>> counter
>>> {'length': 29, 'messages': 1, 'remaining': 41, 'per_message': 70, 'encoding': 'UTF16'}
Mentions
- Original idea : danxexe/sms-counter
- Next Original : wobblecode/sms-counter-php
License
MIT licensed. See the bundled LICENSE file for more details.