sms-counter-python/README.md

38 lines
654 B
Markdown
Raw Normal View History

2016-07-10 20:06:42 +00:00
# sms-counter-python
SMS Character Counter
=============================
Character counter for SMS messages.
2016-07-10 20:12:52 +00:00
##Usage
```python
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'
}
```
2016-07-10 20:06:42 +00:00
###Mentions
* Original idea : [danxexe/sms-counter](https://github.com/danxexe/sms-counter)
* Next Original : [wobblecode/sms-counter-php](https://github.com/wobblecode/sms-counter-php/)
## License
sms-counter-python is released under the [MIT License](LICENSE.txt).