pycrc News
pycrc is a free, fully parametrisable Cyclic Redundancy Check (CRC) calculator and C source code generator written in Python.
News ¶
Version 0.7.9 released
(08 December 2011)
Version 0.7.9 is a minor bugfix release.
- Fixed a bug in the generated C89 code that included stdint.h. (This time for real!)
- Fixed a bug in the generated C89 code when using a 64 bit CRC.
- The --verbose option made pycrc quit without error message.
pycrc repository on GitHub
(01 November 2011)
pycrc has now a
repository on GitHub.
Feel free to fork and to contribute back!
Version 0.7.8 released
(10 July 2011)
Version 0.7.8 is a minor bugfix release.
- The C99 header file stdint.h is no more included in C89/ANSI code.
- Found a more helpful name of the included pycrc header file when generating C code to stdout. Thanks to Lorenzo Cappelletti.
- Removed an unused variable in the option parser.
Version 0.7.7 released
(11 February 2011)
Version 0.7.7 is a minor bugfix release.
- Substituted the deprecated function atoi() with int(). Closes issue 3136566. Thanks to Tony Smith.
- Updated the documentation with a Windows-style call of the python interpreter.
- Fixed a few coding style issues found by pylint and pychecker.
Version 0.7.6 released
(21 October 2010)
Version 0.7.6 is a minor bugfix release.
- Fixed a minor bug in the command line parsing of the generated main function.
- Use integer division for Python3 compatibility.
- Complete rewrite of the internal macro language and code generator.
Added pycrc tutorial
(28 June 2010)
I have added a
Tutorial how to use the generated source code in your program.
Version 0.7.5 released
(28 March 2010)
Version 0.7.5 is a feature enhancement and bug fix release:
- The table-driven algorithm can handle widths that are not byte-aligned as well as widths less than 8.
- Removed half-baken and confusing --direct option. Closes issue 2938846.
- Code clean-up; the generated C code should no more generate warnings about unused variables.
Version 0.7.5 introduces a C/C++ API change: this version introduces the
additional (internal) parameter crc_shift in the crc_cfg_t structure. This
variable is used by the table-driven algorithm when the width is not defined
during code generation. This variable is zero if the width is >= 8.
Version 0.7.4 released
(24 January 2010)
Version 0.7.4 is a feature enhancement and bug fix release:
- Set xmodem parameters equal to zmodem params.
- Changed the xor-in value of the crc-64-jones model.
- Added crc-16-modbus model. Closes issue 2896611.
- pycrc now writes a warning message if an even polynom is used.
- Fix for unused variable argv. Closes issue 2893224. Thanks to Marko von Oppen.
Version 0.7.3 released
(25 October 2009)
Version 0.7.3 is a small feature enhancement release:
- a new CRC model, crc-64-jones was added. Thanks to Waterspirit.
- crc-32mpeg was renamed to crc-32-mpeg.
10,000 downloads
(10 October 2009)
Today pycrc has passed the threshold of 10,000 downloads.
We hope as many people have enjoyed working with pycrc.
Thanks to everyone who has contributed!
Version 0.7.2 released
(30 September 2009)
Version 0.7.2 is a small bugfix release:
- The result of the Python table-driven code was not being evaluated at all. Thanks to Ildar Muslukhov.
Version 0.7.1 released
(05 April 2009)
Version 0.7.1 is only a small feature enhancement release:
- a new CRC model, crc-32mpeg (now crc-32-mpeg) was added. Thanks to Thomas Edwards.
Version 0.7 released
(27 February 2009)
Version 0.7 of pycrc fixes a small bug and adds two new command line options:
- added --direct option. Now it is possible to select 'direct' and 'not direct' version of the algorithm.
- added --check-hexstring option. With this option it is possible to check a hexadecimal number on-the-fly. Closes issue 2545183. Thanks to Arnim Littek.
- added a check for extra arguments on the command line. Previously, additional arguments were silently ignored. Closes issue 2545185. Thanks to Arnim Littek.
Version 0.6.7 released
(11 December 2008)
Version 0.6.7 of pycrc is just a small bugfix release:
- The code should run on both Python 2.x and 3.0.
- Fixed a bug that gave wrong results on x64 platforms.
- Fixed a bug that raised an exception when an unknown model was selected.
Version 0.6.6 released
(06 June 2008)
Version 0.6.6 of pycrc is just a small bugfix release:
- Fixed a bug in the print_params function. Closes issue 1985197. Thanks to Artur Lipowski.
- Creative Commons license for the documentation.
Version 0.6.5 released
(02 March 2008)
Version 0.6.5 of adds a few new CRC models (dallas-1-wire, r-crc-16, thanks to "raimondo") and contains the following changes:
- fixed a problem with the generated code for bit-by-bit-fast algorithms. Thanks to Hans Bacher.
- added extern "C" declaration to the generated C header file. Thanks to Nathan Royer.
- added --crc-type and --include-file options.
Version 0.6.4 released
(05 December 2007)
Version 0.6.4 fixes the following bugs:
- Fixed issue 1843774: The code does not work for multiple calls to crc_update().
Version 0.6.3 released
(13 October 2007)
Version 0.6.3 of adds a few new CRC models (crc-5, crc-15, crc-16-usb, crc-24, crc-64) and fixes the following bugs:
- Fixed issue 1812894: portability problems in the generated code. Thanks to Helmut Bauer.
- Fixed issue 1794343: --check-file works now with --width < 8.
- Fixed issue 1794344: unnecessary restriction on the width when using the bit-by-bit-fast algorithm.
Version 0.6.2 released
(25 August 2007)
Version 0.6.2 of pycrc has been released today.
- Fixed issue 1781637: The parameter to --check-string is ignored.
- Fixed issue 1727128: Generated Table driven code is ugly/not elegant.
Version 0.6.1 released
(12 August 2007)
Version 0.6.1 of pycrc has been released today.
This is a bugfix and code cleanup release. No new features have been added.
- Bugfix in the source code generator for C89:
Compilation error due to mismatch of parameters in the crc_finalize funtion.
- Changes related to 919107:
Code generator includes reflect() function even if not needed.
- Fixed a typo in the C89 source code generator.
Thanks to Helmut Bauer
- Documentation tidy-up.
- Previously deprecated command line options have been deleted in this version.
Version 0.6 released
(21 May 2007)
Version 0.6 of pycrc has been released today.
- This release contains a major rewrite of the code generation back-end and a
re-organisation of the source code.
- With version v0.6 the license has changed from (a modified) GPLv2 to MIT. This
makes it hopfully easier to deploy the source code in third-party programs.
- There are also several other minor improvements.
Version 0.5 released
(25 March 2007)
Version 0.5 of pycrc has been released today.
This release includes minor fixes and corrections. No new features are added.
Version 0.4 released
(26 January 2007)
Version 0.4 of pycrc has been released today.
- This version calculates the checksum of files and new parameter sets are added.
- The generated source code is now documentd in Doxygen style.
Version 0.3 released
(14 January 2007)
Version 0.3 of pycrc has been released today. This is the first public release. Although it is in a early beta stage, most of
the final functionality is implemented.