Skip to content

Home

Codext, contraction of "codecs" and "extension", is a library that gathers many additional encodings for use with codecs. When imported, it registers new encodings to an extended codecs registry for making the encodings available from the codecs.(decode|encode|open) API. It also features CLI tools and a guess mode for decoding multiple layers of codecs.

Setup

This library requires Python 3.10 or later. It is available on PyPi and can be simply installed using Pip:

pip install codext

The bcrypt hashing codec is much faster with the optional bcrypt package, installed with the bcrypt extra:

pip install codext[bcrypt]