Go to file
Dayo Ayeni e68683138d Merge pull request #1 from ElielHaouzi/master
Python package. Python 2.7.
2017-02-23 16:12:47 +01:00
sms_counter add .gitignore. remove not used function. update README. add support for python 2.7 2017-02-15 13:04:45 +02:00
.gitignore add .gitignore. remove not used function. update README. add support for python 2.7 2017-02-15 13:04:45 +02:00
LICENSE Initial commit 2016-07-10 21:01:51 +01:00
README.md add .gitignore. remove not used function. update README. add support for python 2.7 2017-02-15 13:04:45 +02:00
setup.py create python package. refactor the code style according to flake8 2017-02-15 12:02:52 +02:00

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.