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 details)
File details
Details for the file GSMEncoding-0.0.2.tar.gz.
File metadata
- Download URL: GSMEncoding-0.0.2.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2fd3a9ef4e94704834cb0cd99290b63123fa38d3614c7a3a25168cf085faecd
|
|
| MD5 |
7db2d9421e253ac3d7eb000dc6d8fcc1
|
|
| BLAKE2b-256 |
51fbb794d040cc4a9b680ace9eec0f6083651866ad6f2981513725c738f5b29d
|