Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricelambert/gsmencoding
This file implements encode/decode functions for GSM (SMS)
https://github.com/mauricelambert/gsmencoding
2g encoding gsm pypi-package python3
Last synced: about 10 hours ago
JSON representation
This file implements encode/decode functions for GSM (SMS)
- Host: GitHub
- URL: https://github.com/mauricelambert/gsmencoding
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2021-11-08T21:02:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-30T18:38:23.000Z (almost 3 years ago)
- Last Synced: 2023-12-27T23:12:49.220Z (11 months ago)
- Topics: 2g, encoding, gsm, pypi-package, python3
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![GSMEncoding logo](https://mauricelambert.github.io/info/python/code/gsm_small_background.png "GSMEncoding logo")
# 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
```bash
pip install GSMEncoding
```## Usages
```python
from GSMEncoding import gsm7bitencode, gsm7bitdecodeassert gsm7bitencode("Unit Test") == "55779A0EA296E774"
assert gsm7bitdecode("55779A0EA296E774").rstrip("\x00") == "Unit Test"
assert gsm7bitdecode(gsm7bitencode(b'Unit Test')).rstrip(b"\x00") == b"Unit Test"
```## Links
- [Github Page](https://github.com/mauricelambert/GSMEncoding/)
- [Documentation](https://mauricelambert.github.io/info/python/code/GSMEncoding.html)
- [Pypi package](https://pypi.org/project/GSMEncoding/)## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).