An open API service indexing awesome lists of open source software.

https://github.com/m-tmatma/pycrc-test

test for https://github.com/tpircher/pycrc
https://github.com/m-tmatma/pycrc-test

crc pycrc

Last synced: 5 months ago
JSON representation

test for https://github.com/tpircher/pycrc

Awesome Lists containing this project

README

          

# pycrc-test

This repository is a research for how to use [pycrc](https://github.com/tpircher/pycrc)

# LICENSE of pycrc

## LICENSE of pycrc itself

[pycrc](https://github.com/tpircher/pycrc) itself is licensed under [MIT LICENSE](https://github.com/tpircher/pycrc/blob/master/COPYING).

## LICENSE of generated code by pycrc

https://pycrc.org/faq.html#code-ownership says

```
The sloppy answer is: you are free to do whatever you like with the generated code, as long as
you don't blame the author for any malfunction or damage caused by the program.

However, as a courtesy, please keep the line that states that the code was generated by pycrc.
```

# LICENSE of this repository

Follow the same LICENSE as pycrc itself.

# Code sample

These commands create CRC-32 code which is compatible with python3 binascii, zlib CRC32 and so on.

````
python3 pycrc.py --model crc-32 --algorithm table-driven --generate h -o crc.h
python3 pycrc.py --model crc-32 --algorithm table-driven --generate c -o crc.c
````