Go to file
Dayo Ayeni 79373c49c9 Update sms-counter.py
updated the char maps. This seems more accurate.
2016-09-28 11:00:23 +01: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
sms-counter.py Update sms-counter.py 2016-09-28 11:00:23 +01:00

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.