Giter Site home page Giter Site logo

marcospeng / pycrc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snowperson01/pycrc

0.0 0.0 0.0 105 KB

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

Home Page: http://www.lemonsoftware.eu/pycrc-library

License: GNU General Public License v3.0

pycrc's Introduction

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

pycrc's People

Contributors

cristianav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.