Skip to main content

An alternative Python implementation of Douglas Crockford's base32 encoding scheme

Project description

A Python module implementing the alternate base32 encoding as described by Douglas Crockford at: http://www.crockford.com/wrmg/base32.html.

In baas32, this encoding is slightly altered.

He designed the encoding to:

  • Be human and machine readable

  • Be compact

  • Be error resistant

  • Be pronounceable

It uses a symbol set of 10 digits and 22 letters, excluding I, L O and S. Decoding is not case sensitive, and ‘i’ and ‘l’ are converted to ‘1’, ‘o’ is converted to ‘0’ and ‘s’ is converted to ‘5’. Encoding uses only upper-case characters.

Hyphens may be present in symbol strings to improve readability, and are removed when decoding.

A check symbol can be appended to a symbol string to detect errors within the string.

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

baas32-0.3.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file baas32-0.3.2.tar.gz.

File metadata

  • Download URL: baas32-0.3.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for baas32-0.3.2.tar.gz
Algorithm Hash digest
SHA256 56f88d5b682df245e6d7ecbbbbc33ebb21b6292ea7ba438328df48d8531b8593
MD5 2e1c8f5383c73103c3625175be8dabc4
BLAKE2b-256 770150704dc8127db187a4563367c6393a50b2346be4e46c4281fb72453b5270

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