Go to file
Eliel Haouzi 6240116f33 create python package. refactor the code style according to flake8 2017-02-15 12:02:52 +02:00
sms_counter create python package. refactor the code style according to flake8 2017-02-15 12:02:52 +02:00
LICENSE Initial commit 2016-07-10 21:01:51 +01:00
README.md Update README.md 2016-07-10 21:12:52 +01:00
setup.py create python package. refactor the code style according to flake8 2017-02-15 12:02:52 +02:00

README.md

sms-counter-python

SMS Character Counter

Character counter for SMS messages.

##Usage

from sms_counter import SMSCounter

smsmsg = SMSCounter();
smsmsg.count('ǂ some-string-to-be-counted ');

returns

<class 'dict'>
{
    'length': 28,
    'per_message': 70,
    'remaining': 42,
    'messages': 1,
    'encoding': 'UTF16'
}

###Mentions

License

sms-counter-python is released under the MIT License.