Python Codec for 3GPP TS 23.038 / ETSI GSM 03.38
Decode GSM 03.38 encoded bytes:
>>> import gsm0338 >>> b'x1b(x1b)'.decode('gsm03.38') u'{}'
Encode bytes in GSM 03.38:
>>> import gsm0338 >>> u'{}'.encode('gsm03.38') b'x1b(x1b)'
The codec implements the encoding and decoding methods in the stateless codecs.Codec class. With loading the module the codec get's automatically registered.