Skip to main content

A free, easy to use Cyclic Redundancy Check source code generator for C/C++

Project description

pycrc

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

System Requirements

Python 3.8 or newer is required to run pycrc. The last version compatible with Python 2 is v0.9.x.

Running pycrc

This program doesn't need to be installed to be run. The script can be executed from the source directory. Simply call the python interpreter with the script as parameter:

python3 src/pycrc.py [options]

Installation

Install pycrc (if required) using pip:

python3 -m pip install pycrc

or apt (on Debian 13 and later, Ubuntu 23.10 and later, and derivatives):

sudo apt install pycrc

Either of these will install a pycrc binary in the path.

Getting help

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

The pycrc manual page explains the command line options in some detail and also gives some more examples how to use pycrc.

If you have found a bug in pycrc or want to request a feature please take the time and submit it to the issue tracker. Thanks for your help.

Also see the frequently asked questions.

Feedback

If you like pycrc, let me know and drop me a note. If you don't like pycrc let me know what you don't like and why. If you want some idea how to say thanks for this software, please have a look here.

Copyright of the generated source code

The MIT licence allows commercial use of the source and the output of the program. But since I got asked on occasion whether the generated code is encumbered by the copyright of the author, I give my view on this:

The code generated by pycrc is not considered a substantial portion of the software, therefore the licence does not cover the generated code; the author of pycrc will not claim any copyright on the generated code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycrc-0.11.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycrc-0.11.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file pycrc-0.11.0.tar.gz.

File metadata

  • Download URL: pycrc-0.11.0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for pycrc-0.11.0.tar.gz
Algorithm Hash digest
SHA256 a1a4d42e5ec80e2abc0388a28b9a418136111711575e9fca3a9b11fb37196ade
MD5 2ccd2c649e89a063103e9bb0b55d776e
BLAKE2b-256 cfc8b5418b51918115206bf1e54ddfb1c1f06429295504c1ccf0e9aa97f13c39

See more details on using hashes here.

File details

Details for the file pycrc-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: pycrc-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for pycrc-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62a599bf30a402bcc3d8c913c5e7301cb4c25da135f6bfa6314cb898b56f9bbc
MD5 19e4675effe19e0478bda0d71dc608c1
BLAKE2b-256 aa5a9b87d6a3c3749295303fd79a545117b1d1aaabef6ae4ac2b05e3236b1801

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page