This is a python module for encoding, decoding, and correcting data using BCH codes.
Python 3.6 or greater required.
$ pip install bchlib
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 .
See Python's built-in help import bchlib; help(bchlib)
and the module's tests for usage examples.