/python-bchlib

BCH library C Python module

Primary LanguageCGNU General Public License v2.0GPL-2.0

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.