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.

  • 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.

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.24.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commons_codec-0.0.24-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commons_codec-0.0.24.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for commons_codec-0.0.24.tar.gz
Algorithm Hash digest
SHA256 bc180196303130a2dcf3e09a59b7068285cfda532bbf638baef527f680ca5376
MD5 e7c7519b9e22e2c2062b232015adbcd2
BLAKE2b-256 4926a7c583e55a5a3a4cdceeec4f5fcb17c1fd2daab391d352dab95f04031cd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: commons_codec-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for commons_codec-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 58e02ac4b0bef28d041bb930608e3c1458a77491a8529f8de5cb4df7b6e9cc63
MD5 3b1d2199759e8c20f107286b1347f625
BLAKE2b-256 9fb93339bb193205a798ea8608be5264586e918dbc779046583f7482299bd086

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page