This package implements encode/decode functions for GSM (SMS).
Project description
GSMEncoding
Description
This package implements encode/decode functions for GSM (Global System for Mobile Communications - SMS - 2G).
Requirements
This package require :
- python3
- python3 Standard Library
Installation
pip install GSMEncoding
Usages
from GSMEncoding import gsm7bitencode, gsm7bitdecode
assert gsm7bitencode("Unit Test") == "55779A0EA296E774"
assert gsm7bitdecode("55779A0EA296E774").rstrip("\x00") == "Unit Test"
assert gsm7bitdecode(gsm7bitencode(b'Unit Test')).rstrip(b"\x00") == b"Unit Test"
Links
Licence
Licensed under the GPL, version 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GSMEncoding-0.0.2.tar.gz
(16.3 kB
view hashes)