sms-counter-python/README.md

864 B

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

License

MIT licensed. See the bundled LICENSE file for more details.