Skip to content

Python libraries for CRC calculations (it supports CRC-16, CRC-32, CRC-CCITT, etc)

License

Notifications You must be signed in to change notification settings

snowperson01/PyCRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCRC MODULES

----------------------
What is PyCRC?
----------------------

    This is an intended port to python for lib_crc library. It requires at least python 2.7.


----------------------
Version & Changelog
----------------------
    1.0 (oct 2011)    Initial launch


----------------------
How can it be used?
----------------------

    The CRC Modules are designed to be used separately (if you wanted for example to use
    only CRC16 you include only the specific file).

    Usage: 
        from CRCModules.CRC16SICK import CRC16SICK
        crcobj = CRC16SICK()
        res = crcobj.calculate("some string")
        print "{:10X}".format(res)

    Check provided pyCRC.py for a more detailed look.


----------------------
What CRC Modules are available?
----------------------

    CRC16           CRC16.py        for CRC16 and CRC16 Modbus
    CRC32           CRC32.py        for CRC32
    CRC16Kermit     CRC16Kermit.py  for CRC-CCITT (Kermit)
    CRC16SICK       CRC16SICK.py    for CRC16 (Sick)
    CRC16DNP        CRC16DNP.py     for CRC-DNP
    CRCCCITT        CRCCCITT.py     for CRC-CCITT (XModem), CRC-CCITT (0xFFFF) and CRC-CCITT (0x1D0F)


----------------------
Author
----------------------
    Cristian Năvălici ([email protected])
     


----------------------
License
----------------------

    GNU GPLv3 as appear on http://www.gnu.org/licenses/gpl-3.0.txt

----------------------
Credits
----------------------
    go to Lammert Bies for his C Library (http://www.lammertbies.nl/download/lib_crc.zip)
    for online calculations (and more info): http://www.lammertbies.nl/comm/info/crc-calculation.html

About

Python libraries for CRC calculations (it supports CRC-16, CRC-32, CRC-CCITT, etc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published