Skip to content

This file implements encode/decode functions for GSM (SMS)

License

Notifications You must be signed in to change notification settings

mauricelambert/GSMEncoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This file implements encode/decode functions for GSM (SMS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages