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.

Source Distribution

t61codec-1.0.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

t61codec-1.0.1-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file t61codec-1.0.1.tar.gz.

File metadata

  • Download URL: t61codec-1.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for t61codec-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4d854f40017ef39e699291a57a9891c74630facb370b94238284eb9a475ae23f
MD5 cc0dd2bb5334958655507e5089dc9c4e
BLAKE2b-256 4d3d58386307e57294005c8fe2e7b29d97f9094efcb122ab1ff4a368816b45fa

See more details on using hashes here.

File details

Details for the file t61codec-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: t61codec-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for t61codec-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4dae780d65086a10ff822b14ecebb762defe478645a248b74980ced87c85f723
MD5 6182230a727b1dabb63fca2c1fdb733a
BLAKE2b-256 01de47bfc18604861278a97a8381262da4b6a9b98b9f645695ebaf3f22de2558

See more details on using hashes here.

Supported by

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