GSM 7-bit Encoding and Decoding Module
Project description
PYGSM7
pygsm7 is a Python package that provides functions for encoding and decoding messages using GSM 7-bit encoding. It is designed to facilitate the processing of text messages in the context of SMS and mobile communication.
Features
- Encode text messages into GSM 7-bit format.
- Decode GSM 7-bit encoded messages into readable text.
- Handle special characters commonly used in text messages.
- Convert between Unicode and GSM 7-bit character sets.
Installation
You can install pygsm7 using pip:
pip install pygsm7
Usage
Here's how to use pygsm7 in your Python code:
import pygsm7
# Encoding a text message into GSM 7-bit format
encoded_message = pygsm7.encode("Hello, world!")
# Decoding a GSM 7-bit encoded message
decoded_message = pygsm7.decode(encoded_message)
print("Encoded Message:", encoded_message)
print("Decoded Message:", decoded_message)
GSM 7-bit Character Tables
This module includes predefined GSM 7-bit character tables and handling of special characters. You can customize the character tables and special characters to suit your needs.
Contributing
Pull requests and issues are welcome. Refer to CONTRIBUTING.md
Security Vulnerabilities
If you discover any security vulnerability, please send an e-mail to alvinmayende@gmail.com.
License
This package is open-source software licensed under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygsm7-1.0.5.tar.gz.
File metadata
- Download URL: pygsm7-1.0.5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2e304fbb9224f826470db2af8af0acb1e47bb795e1fe2e7a09197cb1f3dc696
|
|
| MD5 |
5a86848c864301ed7db4970c14918e92
|
|
| BLAKE2b-256 |
2b43bbd610d97ee4faf34894008aa9909c751d24c608dd8457670c024e5d84c7
|
File details
Details for the file pygsm7-1.0.5-py3-none-any.whl.
File metadata
- Download URL: pygsm7-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f542d0ab43a71ba810c9b1f9419dd7ddf138d7b41a6eaf8e9e55a92998653409
|
|
| MD5 |
4c4ec8e7be87a57693b71f2c70113f7b
|
|
| BLAKE2b-256 |
aeb5abd77b578809cdf2073953260af084c1bfe330447341f503902e25593b9f
|