{ "info": { "author": "Martin Scharrer", "author_email": "martin@scharrer-online.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Embedded Systems", "Topic :: Utilities" ], "description": "crccheck - Classes to calculate CRCs and checksums from binary data\r\n===================================================================\r\n\r\nThe ``crccheck.crc`` module implements all CRCs listed in the\r\n`Catalogue of parametrised CRC algorithms `_:\r\n\r\n CRC-3/ROHC, CRC-4/ITU, CRC-5/EPC, CRC-5/ITU, CRC-5/USB, CRC-6/CDMA2000-A, CRC-6/CDMA2000-B, CRC-6/DARC, CRC-6/ITU,\r\n CRC-7, CRC-7/ROHC, CRC-8, CRC-8/CDMA2000, CRC-8/DARC, CRC-8/DVB-S2, CRC-8/EBU, CRC-8/I-CODE, CRC-8/ITU, CRC-8/MAXIM,\r\n CRC-8/ROHC, CRC-8/WCDMA, CRC-10, CRC-10/CDMA2000, CRC-11, CRC-12/3GPP, CRC-12/CDMA2000, CRC-12/DECT, CRC-13/BBC,\r\n CRC-14/DARC, CRC-15, CRC-15/MPT1327, CRC-16, ARC, CRC-16/AUG-CCITT, CRC-16/BUYPASS, CRC-16/CCITT-FALSE,\r\n CRC-16/CDMA2000, CRC-16/DDS-110, CRC-16/DECT-R, CRC-16/DECT-X, CRC-16/DNP, CRC-16/EN-13757, CRC-16/GENIBUS,\r\n CRC-16/MAXIM, CRC-16/MCRF4XX, CRC-16/RIELLO, CRC-16/T10-DIF, CRC-16/TELEDISK, CRC-16/TMS37157, CRC-16/USB, CRC-A,\r\n CRC-16 CCITT, KERMIT, MODBUS, X-25, XMODEM, CRC-24, CRC-24/FLEXRAY-A, CRC-24/FLEXRAY-B, CRC-31/PHILIPS, CRC-32,\r\n CRC-32/BZIP2, CRC-32C, CRC-32D, CRC-32/MPEG-2, CRC-32/POSIX, CRC-32Q, JAMCRC, XFER, CRC-40/GSM, CRC-64, CRC-64/WE,\r\n CRC-64/XZ, CRC-82/DARC.\r\n\r\nFor the class names simply remove all dashes and slashes from the above names and apply CamelCase, e.g.\r\n\"CRC-32/MPEG-2\" is implemented by ``Crc32Mpeg2``. Other CRC can be calculated by using the general class\r\n``crccheck.crc.Crc`` by providing all required CRC parameters.\r\n\r\nThe ``crccheck.checksum`` module implements additive and XOR checksums with 8, 16 and 32 bit:\r\n``Checksum8``, ``Checksum16``, ``Checksum32`` and ``ChecksumXor8``, ``ChecksumXor16``, ``ChecksumXor32``\r\n\r\nUsage example::\r\n\r\n from crccheck.crc import Crc32, CrcXmodem\r\n from crccheck.checksum import Checksum32\r\n\r\n # Quick calculation\r\n data = bytearray.fromhex(\"DEADBEEF\")\r\n crc = Crc32.calc(data)\r\n checksum = Checksum32.calc(data)\r\n\r\n # Procsss multiple data buffers\r\n data1 = b\"Binary string\" # or use .encode(..) on normal sring - Python 3 only\r\n data2 = bytes.fromhex(\"1234567890\") # Python 3 only, use bytearray for older versions\r\n data3 = (0x0, 255, 12, 99) # Iterable which returns ints in byte range (0..255)\r\n crcinst = CrcXmodem()\r\n crcinst.process(data1)\r\n crcinst.process(data2)\r\n crcinst.process(data3[1:-1])\r\n crcbytes = crcinst.finalbytes()\r\n crchex = crcinst.finalhex()\r\n crcint = crcinst.final()", "description_content_type": null, "docs_url": "https://pythonhosted.org/crccheck/", "download_url": "https://bitbucket.org/martin_scharrer/crccheck/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/martin_scharrer/crccheck", "keywords": "", "license": "GPL v3+", "maintainer": "", "maintainer_email": "", "name": "crccheck", "package_url": "https://pypi.org/project/crccheck/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/crccheck/", "project_urls": { "Download": "https://bitbucket.org/martin_scharrer/crccheck/downloads", "Homepage": "https://bitbucket.org/martin_scharrer/crccheck" }, "release_url": "https://pypi.org/project/crccheck/0.6/", "requires_dist": null, "requires_python": null, "summary": "Calculation library for CRCs and checksums", "version": "0.6" }, "last_serial": 2044437, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "11ed130306f1148af9e0e5a109d2c80d", "sha256": "9fa01ee6861af3adf1b0f53a0fa8296af686e92fefd392b5aed20b3f5b5ceab7" }, "downloads": -1, "filename": "crccheck-0.4-py3.5.egg", "has_sig": false, "md5_digest": "11ed130306f1148af9e0e5a109d2c80d", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 25651, "upload_time": "2016-03-29T18:39:43", "url": "https://files.pythonhosted.org/packages/5e/e2/be24c5ed3c5365cab7e5d3187099e2b53d581c21733cf8ad87742e1b0c7a/crccheck-0.4-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "e258d4bd69be05a6fe33b2d9a5f36c25", "sha256": "5e188118f8552823ac4cbff69642474dafae1eeeff5947953e4b404f55642882" }, "downloads": -1, "filename": "crccheck-0.4.zip", "has_sig": false, "md5_digest": "e258d4bd69be05a6fe33b2d9a5f36c25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11855, "upload_time": "2016-03-29T18:39:51", "url": "https://files.pythonhosted.org/packages/c8/b4/fd61879455bec02dfd6b257999005e50e9c277706995f60270ca6e053f95/crccheck-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "e9bbca7dedb8e453da9c6983933e90b7", "sha256": "de0a60d95f1f58663fd056ec14714c17c3727c5bafaf118794e400f961d25867" }, "downloads": -1, "filename": "crccheck-0.5-py3.5.egg", "has_sig": false, "md5_digest": "e9bbca7dedb8e453da9c6983933e90b7", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 26292, "upload_time": "2016-03-30T15:31:20", "url": "https://files.pythonhosted.org/packages/58/7b/1e97c4d8362045e479dc4d8505bee946a09a75b2f98e6ce190fcc53f5fa0/crccheck-0.5-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "47d014d8bd2debf71f39440a1a97aa5f", "sha256": "bc59c17f25681216f22b2f4bf5ef4a58047b19f3965b27bcd6a5b65ee3d58ed3" }, "downloads": -1, "filename": "crccheck-0.5.zip", "has_sig": false, "md5_digest": "47d014d8bd2debf71f39440a1a97aa5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12365, "upload_time": "2016-03-30T15:31:14", "url": "https://files.pythonhosted.org/packages/d7/fe/b0dd79f107859ffa5276001df665f8da19b17db5d7d1f748d5cfdea5abad/crccheck-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "b7d8df756c066cf28bafb0381cc40544", "sha256": "02c24e5fb983f0e56165b6c6bb347e3e343011607a4d1e09e7451790b8dbd7e6" }, "downloads": -1, "filename": "crccheck-0.6-py2.7.egg", "has_sig": false, "md5_digest": "b7d8df756c066cf28bafb0381cc40544", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 37473, "upload_time": "2016-04-03T08:23:09", "url": "https://files.pythonhosted.org/packages/fa/7d/0d5f01825499a3884d75d697c11b1f53aef93941da7d524cecbfeb16a8bb/crccheck-0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "521a715c61f77dfe741031175743b648", "sha256": "25226f7070d8ea6e6305e37261f7171a6da5c6daec70b3fa3af455b7a12d6374" }, "downloads": -1, "filename": "crccheck-0.6-py3.3.egg", "has_sig": false, "md5_digest": "521a715c61f77dfe741031175743b648", "packagetype": "bdist_egg", "python_version": "3.3", "requires_python": null, "size": 39426, "upload_time": "2016-04-03T08:23:27", "url": "https://files.pythonhosted.org/packages/72/7c/23baa6f61788fb2734060fe9614ea5a916d09236ca6114441b126e32cd22/crccheck-0.6-py3.3.egg" }, { "comment_text": "", "digests": { "md5": "9f5bc87d36c052cafdeb4ab328712208", "sha256": "05ea576d8237f12e306a05dd272f94d2b38dae13120627b420458ddb0f7f7078" }, "downloads": -1, "filename": "crccheck-0.6-py3.4.egg", "has_sig": false, "md5_digest": "9f5bc87d36c052cafdeb4ab328712208", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 39795, "upload_time": "2016-04-03T08:23:45", "url": "https://files.pythonhosted.org/packages/b2/51/e03503c89b3d60966ff36577c2050ec61aa74dd546ceba421d2438260ee7/crccheck-0.6-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "ab611f91e7742f5f7db6b2dce20455d6", "sha256": "363f72c48ae7669cdefe107d890bc66bab1a37529e0b0c7cedea35bc9c00a6ee" }, "downloads": -1, "filename": "crccheck-0.6-py3.5.egg", "has_sig": false, "md5_digest": "ab611f91e7742f5f7db6b2dce20455d6", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 39766, "upload_time": "2016-04-03T08:22:26", "url": "https://files.pythonhosted.org/packages/c3/4d/e98104d04fb704ee0c4b121ba82ff34449684ba189dc7b4af9baedf28b4a/crccheck-0.6-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "d57224ee7285217d8dc2767c16f51bfe", "sha256": "5686a4e5c3a2949597316c067c49c21e06051d13de9521434480cfa24dad7e32" }, "downloads": -1, "filename": "crccheck-0.6.zip", "has_sig": false, "md5_digest": "d57224ee7285217d8dc2767c16f51bfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20635, "upload_time": "2016-04-03T08:22:09", "url": "https://files.pythonhosted.org/packages/2f/43/91b22ee387b9323eb0be0c6cbf266e010c69e5a98db45aa3bf30c9f2388d/crccheck-0.6.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b7d8df756c066cf28bafb0381cc40544", "sha256": "02c24e5fb983f0e56165b6c6bb347e3e343011607a4d1e09e7451790b8dbd7e6" }, "downloads": -1, "filename": "crccheck-0.6-py2.7.egg", "has_sig": false, "md5_digest": "b7d8df756c066cf28bafb0381cc40544", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 37473, "upload_time": "2016-04-03T08:23:09", "url": "https://files.pythonhosted.org/packages/fa/7d/0d5f01825499a3884d75d697c11b1f53aef93941da7d524cecbfeb16a8bb/crccheck-0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "521a715c61f77dfe741031175743b648", "sha256": "25226f7070d8ea6e6305e37261f7171a6da5c6daec70b3fa3af455b7a12d6374" }, "downloads": -1, "filename": "crccheck-0.6-py3.3.egg", "has_sig": false, "md5_digest": "521a715c61f77dfe741031175743b648", "packagetype": "bdist_egg", "python_version": "3.3", "requires_python": null, "size": 39426, "upload_time": "2016-04-03T08:23:27", "url": "https://files.pythonhosted.org/packages/72/7c/23baa6f61788fb2734060fe9614ea5a916d09236ca6114441b126e32cd22/crccheck-0.6-py3.3.egg" }, { "comment_text": "", "digests": { "md5": "9f5bc87d36c052cafdeb4ab328712208", "sha256": "05ea576d8237f12e306a05dd272f94d2b38dae13120627b420458ddb0f7f7078" }, "downloads": -1, "filename": "crccheck-0.6-py3.4.egg", "has_sig": false, "md5_digest": "9f5bc87d36c052cafdeb4ab328712208", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 39795, "upload_time": "2016-04-03T08:23:45", "url": "https://files.pythonhosted.org/packages/b2/51/e03503c89b3d60966ff36577c2050ec61aa74dd546ceba421d2438260ee7/crccheck-0.6-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "ab611f91e7742f5f7db6b2dce20455d6", "sha256": "363f72c48ae7669cdefe107d890bc66bab1a37529e0b0c7cedea35bc9c00a6ee" }, "downloads": -1, "filename": "crccheck-0.6-py3.5.egg", "has_sig": false, "md5_digest": "ab611f91e7742f5f7db6b2dce20455d6", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 39766, "upload_time": "2016-04-03T08:22:26", "url": "https://files.pythonhosted.org/packages/c3/4d/e98104d04fb704ee0c4b121ba82ff34449684ba189dc7b4af9baedf28b4a/crccheck-0.6-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "d57224ee7285217d8dc2767c16f51bfe", "sha256": "5686a4e5c3a2949597316c067c49c21e06051d13de9521434480cfa24dad7e32" }, "downloads": -1, "filename": "crccheck-0.6.zip", "has_sig": false, "md5_digest": "d57224ee7285217d8dc2767c16f51bfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20635, "upload_time": "2016-04-03T08:22:09", "url": "https://files.pythonhosted.org/packages/2f/43/91b22ee387b9323eb0be0c6cbf266e010c69e5a98db45aa3bf30c9f2388d/crccheck-0.6.zip" } ] }