Skip to main content

Data decoding, encoding, conversion, and translation utilities.

Project description

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.

  • Zyp, 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 Zyp, run:

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

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.

Similar Projects

See prior art and Zyp research.

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.

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

commons_codec-0.0.11.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

commons_codec-0.0.11-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file commons_codec-0.0.11.tar.gz.

File metadata

  • Download URL: commons_codec-0.0.11.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for commons_codec-0.0.11.tar.gz
Algorithm Hash digest
SHA256 134e296a42547e7fc338bf41799e54558a58d3904358cf1940e1525ac53f47ef
MD5 0df2e6a76001a295aad859876d314ecd
BLAKE2b-256 99caf8ade02b4e83f08dd9ee91d5af34c09fb19a9d91b3e21260fcb495263beb

See more details on using hashes here.

Provenance

File details

Details for the file commons_codec-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for commons_codec-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f8dc302e4f23aeb69f850194258b402835204a4e0d55f2c1eb33ced505c883a0
MD5 b00b4ea6dc79789dc3bfee41f287867d
BLAKE2b-256 6e65c16665bbe3614b44aa29aee735851709050202f511e08b36f2f79b67fb2a

See more details on using hashes here.

Provenance

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