CodExt is a (Python2-3 compatible) library that extends the native codecs library (namely for adding new custom encodings and character mappings), hence its name combining CODecs EXTension. It provides 120+ new codecs and also features a guessing mode for decoding multiple layers of encoding and CLI tools for convenience.
Links:
- https://github.com/dhondta/python-codext
- https://hakin9.org/codext-encode-decode-anything-with-python/