Pycrc is a free Cyclic Redundancy Check (CRC) C source code generator written in Python.

The CRC algorithm can be chosen from a fast but space-consuming implementation to slower but smaller versions especially suitable for embedded applications. The CRC parameters can be freely chosen and some well-known CRC models can be referred to by their name instead of by the parameters.

Getting started

You should be able to use pycrc straight away without further dependencies other than Python 2.6 or later. No installation or additional modules are required. Python 3 is supported.

The best place to start is the tutorial and the C API documentation.

Source code

Download the latest version v0.10.0 with the buttons above or get older versions from news page. The source code is hosted on GitHub.


pycrc is released under the terms of the MIT licence.