Skip to main content

Python Codec for ITU T.61 Strings

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-2.0.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

t61codec-2.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t61codec-2.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for t61codec-2.0.0.tar.gz
Algorithm Hash digest
SHA256 21c238fbf897b32e5fe9450b71193a1d223abb591dd84b5da8fbc50a2c9277db
MD5 5cb36742fd7a8c2041df16c3e8e0c7ea
BLAKE2b-256 5ca13dad66921f116dab998b9c983a6b78da1c692f5b61b2962a7c6348c0cc40

See more details on using hashes here.

File details

Details for the file t61codec-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: t61codec-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for t61codec-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7475de8a568c5d381bc8cd823258bcaae0ec8365d037713c3c9ba9c7abce14eb
MD5 be146390dad4fc9f4fc98bc506e1ee18
BLAKE2b-256 24aebcc70c2b2652d2229bbae04740185c137f1bc8489ef16a60b48791308c5d

See more details on using hashes here.

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