there is no place like ~


pycrc is a free, easy to use Cyclic Redundancy Check (CRC) calculator and C source code generator.




pycrc provides CRC reference implementations in Python and a C source code generator. The used CRC variant can be chosen from a fast but space-consuming implementation to slower but smaller versions especially suitable for embedded applications. The models can be freely chosen, and the collection of CRC models lists some of the most popular models by name. The following functions are implemented:

The following variants of the CRC algorithm are supported:

pycrc is released under the terms of the MIT licence.



If you like pycrc and you would like to give something back, then please see some ways how to say thanks.

Download Source

The latest released version is v0.8.2:

Older versions can be downloaded from the pycrc news archive or from the pycrc git repository on GitHub.

To Do

pycrc is considered stable code. No new features are planned, but bugs are still fixed and new models added on request.

Check out the pycrc issue tracker for open bugs and feature requests.

Other Free CRC tools

The source code for pycrc is on GitHub.