bchlib

A python wrapper module for the Linux kernel BCH library.


Keywords
bch, ecc, encoding, python, syndrome
License
GPL-3.0
Install
pip install bchlib==0.6

Documentation

python-bchlib

This is a python module for encoding, decoding, and correcting data using BCH codes.

Requirements

Python 3.6 or greater required.

Installing the latest release:

$ pip install bchlib

Installing from source:

On Linux, you will need python-dev or equivalent package. Windows, you need Microsoft Visual C++. I've tested this manually using Visual Studio 2015.

$ pip install .

Usage Example

See Python's built-in help import bchlib; help(bchlib) and the module's tests for usage examples.