Skip to main content

GSM 7-bit Encoding and Decoding Module

Project description

PYGSM7

License PyPI Downloads Version

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

pygsm7-1.0.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygsm7-1.0.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for pygsm7-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a2e304fbb9224f826470db2af8af0acb1e47bb795e1fe2e7a09197cb1f3dc696
MD5 5a86848c864301ed7db4970c14918e92
BLAKE2b-256 2b43bbd610d97ee4faf34894008aa9909c751d24c608dd8457670c024e5d84c7

See more details on using hashes here.

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

Hashes for pygsm7-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f542d0ab43a71ba810c9b1f9419dd7ddf138d7b41a6eaf8e9e55a92998653409
MD5 4c4ec8e7be87a57693b71f2c70113f7b
BLAKE2b-256 aeb5abd77b578809cdf2073953260af084c1bfe330447341f503902e25593b9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page