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.

Source Distribution

baudot-0.1.1.post2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

baudot-0.1.1.post2-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

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