Skip to main content

Tools for handling stateful 5-bit encoding

Project description

Baudot is a Python library for encoding and decoding 5-bit stateful encoding.

This library is named after Jean-Maurice-Émile Baudot (1845-1903), the French engineer who invented this code. The Baudot code was the first practical and widely used binary character encoding, and is an ancestor of the ASCII code we are familiar with today.

This library accomplishes two tasks (and their inverse):

  1. reading 5-bit codes from custom input formats,
  2. converting 5-bit codes to unicode characters.

This library provides support for several common encodings, as well as support for reading tape-like files and hexadecimal data.

Please keep in mind that this project is very young, and that its API is most likely ill-designed at this point. Suggestions are welcome!

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 baudot, version 0.1.1.post2
Filename, size File type Python version Upload date Hashes
Filename, size baudot-0.1.1.post2-py3-none-any.whl (12.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size baudot-0.1.1.post2.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page