Skip to main content

This package implements encode/decode functions for GSM (SMS).

Project description

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

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


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)

Uploaded Source

Supported by

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