Skip to content


Subversion checkout URL

You can clone with
Download ZIP
pycrc is a free, easy to use Cyclic Redundancy Check (CRC) calculator and source code generator
Python Shell C
Pull request Compare This branch is 1 commit ahead, 61 commits behind tpircher:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


                 _ __  _   _  ___ _ __ ___
                | '_ \| | | |/ __| '__/ __|
                | |_) | |_| | (__| | | (__
                | .__/ \__, |\___|_|  \___|
                |_|    |___/


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


pycrc requires Python 2.4 or later. Python 3.x is supported.

This program doesn't need any particular installation. The script can be
called from any directory.
Simply call the python interpreter with the script as parameter:

python [options]

On UNIX-like systems, you might want to make the script executable:

chmod +x

Then the script can be called like an application.
./ [options]

Getting help

If you are new to pycrc and want to generate C code, start with the tutorial

The manual page ( explains the command
line options and gives some examples how to use pycrc.

If you have questions about using pycrc which is not answered in a satisfactory
way by the documentation, please send a mail to the pycrc user mailing list
<>. The list info page is available at
Due to excessive spamming a subscription is required to post on the list.

If you have found a bug in pycrc, please take the time and file it to the issue
tracker at
Thanks for your collaboration.

Also see for frequently asked questions.

Copyright of the generated source code

Prior to v0.6, pycrc was released under the GPL and an additional addition to
the licence was required to permit to use the generated source code in products
with a OSI unapproved licence. As of version 0.6, pycrc is released under the
terms of the MIT licence and such an additional clause to the licence is no
more required.
Something went wrong with that request. Please try again.