commons-codec 0.0.24


pip install commons-codec

  Latest version

Released: Jul 01, 2025


Meta
Author: Andreas Motl
Requires Python: >=3.8.6

Classifiers

Development Status
  • 4 - Beta

Environment
  • Plugins

Intended Audience
  • Developers
  • Education
  • Information Technology
  • Manufacturing
  • Science/Research
  • System Administrators
  • Telecommunications Industry

License
  • OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
  • OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

Operating System
  • OS Independent
  • POSIX :: Linux
  • Unix

Programming Language
  • Python
  • Python :: 3 :: Only
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy
  • SQL

Topic
  • Adaptive Technologies
  • Communications
  • Database
  • Documentation
  • Education
  • Internet
  • Office/Business
  • Scientific/Engineering
  • Scientific/Engineering :: Information Analysis
  • Scientific/Engineering :: Interface Engine/Protocol Translator
  • Software Development :: Libraries
  • Software Development :: Pre-processors
  • Software Development :: Testing
  • Software Development :: Version Control
  • System :: Archiving
  • System :: Benchmark
  • System :: Clustering
  • System :: Distributed Computing
  • System :: Logging
  • System :: Monitoring
  • System :: Networking
  • System :: Systems Administration
  • Text Processing
  • Utilities

commons-codec

Tests Coverage Build status (documentation) PyPI Version Python Version PyPI Downloads Status License

About

A codec is a device or computer program that encodes or decodes a data stream or signal. Codec is a portmanteau of coder/decoder.

A coder or encoder encodes a data stream or a signal for transmission or storage, [...], and the decoder function reverses the encoding for playback or editing.

-- https://en.wikipedia.org/wiki/Codec

What's Inside

  • Change Data Capture (CDC): Transformer components for converging CDC event messages to SQL statements.

  • A collection of reusable utilities with minimal dependencies for decoding and transcoding purposes, mostly collected from other projects like Kotori and LorryStream, in order to provide them per standalone package for broader use cases.

  • Tikray, a generic and compact transformation engine written in Python, for data decoding, encoding, conversion, translation, transformation, and cleansing purposes, to be used as a pipeline element for data pre- and/or post-processing.

Installation

The package is available from PyPI at commons-codec. To install the most recent version, including support for MongoDB, and Tikray, run:

pip install --upgrade 'commons-codec[mongodb,tikray]'

Usage

In order to learn how to use the library, please visit the documentation, and explore the source code or its examples.

Project Information

Acknowledgements

Kudos to the authors of all the many software components this library is vendoring and building upon.

Contributing

The commons-codec package is an open source project, and is managed on GitHub. The project is still in its infancy, and we appreciate contributions of any kind.

Etymology

The Apache Commons Codec library was the inspiration for the name. Otherwise, both libraries' ingredients don't have anything in common, yet.

License

The project uses the LGPLv3 license for the whole ensemble. However, individual portions of the code base are vendored from other Python packages, where deviating licenses may apply. Please check for detailed license information within the header sections of relevant files.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
attrs (<26)
backports-strenum (<1.3)
cattrs (<26)
importlib-resources (<6.5)
python-dateutil (<3)
simplejson (<4)
sqlalchemy-cratedb (>=0.39.0)
toolz (<1.1)