Skip to main content

Python Character Mapping Codec for T61

Project description

For information about the codec see https://en.wikipedia.org/wiki/ITU_T.61

Installation

Installation follows the standard Python procedure:

pip install t61codec

The package uses Semantic Versioning 2.0 (https://semver.org/spec/v2.0.0.html).

Usage

The codec can be registered into Python’s codec registry. A helper method has been provided:

import t61codec
t61codec.register()

Please see the notes on codecs.register!

After registering, the codec is available as either 't61' or 't.61':

>>> b'Hello T.61: \xe0'.decode('t.61')
'Hello T.61: Ω'
>>> 'Hello T.61: Ω'.encode('t.61')
b'Hello T.61: \xe0'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for t61codec, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size t61codec-1.0.1-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size t61codec-1.0.1.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page