{ "info": { "author": "Gennady Trafimenkov", "author_email": "gennady.trafimenkov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "====================================\nPython library for calculating CRC16\n====================================\n\nCRC is a way of detecting accidental changes in data storage or\ntransmission. There are many variants of CRC and CRC16, in particular.\nThis library calculates only CRC16 (16-bit codes) and the only supported\nvariant at the moment is CRC-CCITT (XModem).\n\nIf you want to know more about CRC,\nhttp://wikipedia.org/wiki/Cyclic_redundancy_check is a good place to start.\n\nIf you want other variants of CRC16 supported, please make a request at\nhttp://code.google.com/p/pycrc16/issues\n\nSource codes are hosted at https://github.com/gennady/pycrc16\nIf you want to contribute to this library, create a fork, make you changes\nand then create a pull request. Any help is appreciated.\n\n------------\nInstallation\n------------\n\nOn Windows you can use precompiled binaries which can be found at\nhttp://code.google.com/p/pycrc16/downloads\n\nOn Linux and other operation systems you should compile the library from\nthe source codes. To do this on Linux use following steps:\n\n* download source tarball, e.g. crc16-0.1.1.tar.gz,\n from http://code.google.com/p/pycrc16/downloads\n\n* extract it with command::\n\n tar -xzf crc16-0.1.1.tar.gz\n\n* compile and install the library::\n\n cd crc16-0.1.1\n python setup.py build\n sudo python setup.py install\n\n you will need the administrative privileges to execute the last\n command.\n\nAfter installation you can run unit tests to make sure that the library\nworks fine. Execute::\n\n python -m crc16.test\n\n-----\nUsage\n-----\n\nIn Python 3::\n\n import crc16\n print(crc16.crc16xmodem(b'123456789'))\n\nIn Python 2 you should use strings instead of binary data::\n\n import crc16\n print(crc16.crc16xmodem('123456789'))\n\nYou can also calculate CRC gradually::\n\n import crc16\n crc = crc16.crc16xmodem(b'1234')\n crc = crc16.crc16xmodem(b'56789', crc)\n print(crc)\n\n--------------\nOther projects\n--------------\n\nThere are a number of projects and libraries for CRC calculation.\nSee for example:\n\n* binascii.crc32 in the standart Python library\n\n* pycrc (http://www.tty1.net/pycrc)\n\n* crcmod (http://pypi.python.org/pypi/crcmod)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/pycrc16", "keywords": "CRC16", "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "crc16", "package_url": "https://pypi.org/project/crc16/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/crc16/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/pycrc16" }, "release_url": "https://pypi.org/project/crc16/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Library for calculating CRC16", "version": "0.1.1" }, "last_serial": 788513, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f57f01ba3ac87401f023ed9a8d5c08aa", "sha256": "668d5d7c315fa8b6909a4da0bde3faff93cb54095ebf184a8d1a78054739285b" }, "downloads": -1, "filename": "crc16-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f57f01ba3ac87401f023ed9a8d5c08aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8504, "upload_time": "2011-01-16T20:08:16", "url": "https://files.pythonhosted.org/packages/d7/12/77a198fb4f4eb5163d5ad7f2b5014a8db1d9cb726cca48b865037e883d3e/crc16-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "4556f69a32473d5f4adaefba5ea653d7", "sha256": "86871ac0bce18070d600fbeed5f9b79a46d662cb63b5e02c99cb79852b072721" }, "downloads": -1, "filename": "crc16-0.1.0.win32-py2.6.exe", "has_sig": false, "md5_digest": "4556f69a32473d5f4adaefba5ea653d7", "packagetype": "bdist_wininst", "python_version": "2.6", "requires_python": null, "size": 208157, "upload_time": "2011-01-16T22:03:19", "url": "https://files.pythonhosted.org/packages/52/9e/5ba4ce66c0898cb4a247fb8d3e02ade3a665a72efe103b19242df1acdf79/crc16-0.1.0.win32-py2.6.exe" }, { "comment_text": "", "digests": { "md5": "2d981bd4994e60c1b0cdc0dcac2c86ff", "sha256": "13dd85df0049404e5a1947b27dc7fa3785da100c635feb6b878e92e07877ee47" }, "downloads": -1, "filename": "crc16-0.1.0.win32-py2.7.exe", "has_sig": false, "md5_digest": "2d981bd4994e60c1b0cdc0dcac2c86ff", "packagetype": "bdist_wininst", "python_version": "2.7", "requires_python": null, "size": 208157, "upload_time": "2011-01-16T22:04:36", "url": "https://files.pythonhosted.org/packages/65/fb/0ec3cdabdaf2578b060c30f7a4b88e2f92395af2e174169fcaa1d708871f/crc16-0.1.0.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "1590c7b3cbbf4eb6c722509aa45d4c07", "sha256": "bd6e423dff904cc9ed5a84dff41f361ea2f4ef49de0f2240cd78d21fc9ab3c67" }, "downloads": -1, "filename": "crc16-0.1.0.win32-py3.1.exe", "has_sig": false, "md5_digest": "1590c7b3cbbf4eb6c722509aa45d4c07", "packagetype": "bdist_wininst", "python_version": "3.1", "requires_python": null, "size": 208162, "upload_time": "2011-01-16T22:04:40", "url": "https://files.pythonhosted.org/packages/bc/65/0692fe54fd7dfc09f5e30b7a96a062564d8e0c2848a5b5d9888e2d76f2ea/crc16-0.1.0.win32-py3.1.exe" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3cb6a4f5fd10a58c09792e321cc467e5", "sha256": "c1f86aa0390f4baf07d2631b16b979580eae1d9a973a826ce45353a22ee8d396" }, "downloads": -1, "filename": "crc16-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3cb6a4f5fd10a58c09792e321cc467e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9631, "upload_time": "2011-06-04T23:20:40", "url": "https://files.pythonhosted.org/packages/a6/e0/70a44c4385f2b33df82e518005aae16b5c1feaf082c73c0acebe3426fc0a/crc16-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "8de4344fd58143db6570ab6049db6d79", "sha256": "eb47b9cec9818b684537d05552ff10404c92d9dcdd455156456b19e7423855bc" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py2.6.exe", "has_sig": false, "md5_digest": "8de4344fd58143db6570ab6049db6d79", "packagetype": "bdist_wininst", "python_version": "2.6", "requires_python": null, "size": 208168, "upload_time": "2011-06-04T23:23:03", "url": "https://files.pythonhosted.org/packages/3c/8a/745b9c24ac19c6941e38ecf29ed3b2e564e796485426642c102fe84520c4/crc16-0.1.1.win32-py2.6.exe" }, { "comment_text": "", "digests": { "md5": "9dcfeeae6896a93dc209e0d04ee7fe24", "sha256": "7998bb0cacb0005ba62f963540c0f7cb09e86b51f6b4e64ed5632f31a7266fa1" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py2.7.exe", "has_sig": false, "md5_digest": "9dcfeeae6896a93dc209e0d04ee7fe24", "packagetype": "bdist_wininst", "python_version": "2.7", "requires_python": null, "size": 208167, "upload_time": "2011-06-04T23:22:45", "url": "https://files.pythonhosted.org/packages/62/b4/b6ee4d4019542ccac4eab0fec34da101235fce6b82128f146f933355ed06/crc16-0.1.1.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "a5a9cb57e68a88b6870402054efb496b", "sha256": "1439e3cc0244a4758aa2d40a31b062086c24f5602046ec2fa4356484c4b5a385" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.1.exe", "has_sig": false, "md5_digest": "a5a9cb57e68a88b6870402054efb496b", "packagetype": "bdist_wininst", "python_version": "3.1", "requires_python": null, "size": 208173, "upload_time": "2011-06-04T23:22:39", "url": "https://files.pythonhosted.org/packages/d9/d7/32338df319b6b8845d0ae3b32a0bdb58ebbde76cf3dde3471f4cf7bd7ed6/crc16-0.1.1.win32-py3.1.exe" }, { "comment_text": "", "digests": { "md5": "4a51f1f6f9c9b827c51554f14643db59", "sha256": "521643768ff000a7758bc1f1c5e1dc41ae64b42fa57c50e133ab083cfaf9b8f9" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.2.exe", "has_sig": false, "md5_digest": "4a51f1f6f9c9b827c51554f14643db59", "packagetype": "bdist_wininst", "python_version": "3.2", "requires_python": null, "size": 208169, "upload_time": "2011-06-04T23:19:07", "url": "https://files.pythonhosted.org/packages/33/cc/e338915627c0b148c378ae249105e37efe31f70b1fb7d84e81f3c88a6dab/crc16-0.1.1.win32-py3.2.exe" }, { "comment_text": "", "digests": { "md5": "942c5b89ba301333a235c97ece073cc0", "sha256": "63db8577ce0e03b39f30071166c6667659124a65d7fcd38adffe6a34487ce6fb" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.3.exe", "has_sig": false, "md5_digest": "942c5b89ba301333a235c97ece073cc0", "packagetype": "bdist_wininst", "python_version": "3.3", "requires_python": null, "size": 202750, "upload_time": "2013-03-11T21:45:18", "url": "https://files.pythonhosted.org/packages/47/73/88a4a3fe1270d36789e34ac21550b21693195251f80191cee149da1b073c/crc16-0.1.1.win32-py3.3.exe" }, { "comment_text": "", "digests": { "md5": "9a3ba41c8f8377bb56b8e570c5c7a514", "sha256": "1b9f697a93491ae42ed653c1e78ea25a33532afab87b513e6890975450271a01" }, "downloads": -1, "filename": "crc16-0.1.1.zip", "has_sig": false, "md5_digest": "9a3ba41c8f8377bb56b8e570c5c7a514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20883, "upload_time": "2011-06-04T23:19:03", "url": "https://files.pythonhosted.org/packages/27/f8/44fab1c8f71faafa1e5bbbb6e38102779846eb17d0e71885e952a5db3d28/crc16-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cb6a4f5fd10a58c09792e321cc467e5", "sha256": "c1f86aa0390f4baf07d2631b16b979580eae1d9a973a826ce45353a22ee8d396" }, "downloads": -1, "filename": "crc16-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3cb6a4f5fd10a58c09792e321cc467e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9631, "upload_time": "2011-06-04T23:20:40", "url": "https://files.pythonhosted.org/packages/a6/e0/70a44c4385f2b33df82e518005aae16b5c1feaf082c73c0acebe3426fc0a/crc16-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "8de4344fd58143db6570ab6049db6d79", "sha256": "eb47b9cec9818b684537d05552ff10404c92d9dcdd455156456b19e7423855bc" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py2.6.exe", "has_sig": false, "md5_digest": "8de4344fd58143db6570ab6049db6d79", "packagetype": "bdist_wininst", "python_version": "2.6", "requires_python": null, "size": 208168, "upload_time": "2011-06-04T23:23:03", "url": "https://files.pythonhosted.org/packages/3c/8a/745b9c24ac19c6941e38ecf29ed3b2e564e796485426642c102fe84520c4/crc16-0.1.1.win32-py2.6.exe" }, { "comment_text": "", "digests": { "md5": "9dcfeeae6896a93dc209e0d04ee7fe24", "sha256": "7998bb0cacb0005ba62f963540c0f7cb09e86b51f6b4e64ed5632f31a7266fa1" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py2.7.exe", "has_sig": false, "md5_digest": "9dcfeeae6896a93dc209e0d04ee7fe24", "packagetype": "bdist_wininst", "python_version": "2.7", "requires_python": null, "size": 208167, "upload_time": "2011-06-04T23:22:45", "url": "https://files.pythonhosted.org/packages/62/b4/b6ee4d4019542ccac4eab0fec34da101235fce6b82128f146f933355ed06/crc16-0.1.1.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "a5a9cb57e68a88b6870402054efb496b", "sha256": "1439e3cc0244a4758aa2d40a31b062086c24f5602046ec2fa4356484c4b5a385" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.1.exe", "has_sig": false, "md5_digest": "a5a9cb57e68a88b6870402054efb496b", "packagetype": "bdist_wininst", "python_version": "3.1", "requires_python": null, "size": 208173, "upload_time": "2011-06-04T23:22:39", "url": "https://files.pythonhosted.org/packages/d9/d7/32338df319b6b8845d0ae3b32a0bdb58ebbde76cf3dde3471f4cf7bd7ed6/crc16-0.1.1.win32-py3.1.exe" }, { "comment_text": "", "digests": { "md5": "4a51f1f6f9c9b827c51554f14643db59", "sha256": "521643768ff000a7758bc1f1c5e1dc41ae64b42fa57c50e133ab083cfaf9b8f9" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.2.exe", "has_sig": false, "md5_digest": "4a51f1f6f9c9b827c51554f14643db59", "packagetype": "bdist_wininst", "python_version": "3.2", "requires_python": null, "size": 208169, "upload_time": "2011-06-04T23:19:07", "url": "https://files.pythonhosted.org/packages/33/cc/e338915627c0b148c378ae249105e37efe31f70b1fb7d84e81f3c88a6dab/crc16-0.1.1.win32-py3.2.exe" }, { "comment_text": "", "digests": { "md5": "942c5b89ba301333a235c97ece073cc0", "sha256": "63db8577ce0e03b39f30071166c6667659124a65d7fcd38adffe6a34487ce6fb" }, "downloads": -1, "filename": "crc16-0.1.1.win32-py3.3.exe", "has_sig": false, "md5_digest": "942c5b89ba301333a235c97ece073cc0", "packagetype": "bdist_wininst", "python_version": "3.3", "requires_python": null, "size": 202750, "upload_time": "2013-03-11T21:45:18", "url": "https://files.pythonhosted.org/packages/47/73/88a4a3fe1270d36789e34ac21550b21693195251f80191cee149da1b073c/crc16-0.1.1.win32-py3.3.exe" }, { "comment_text": "", "digests": { "md5": "9a3ba41c8f8377bb56b8e570c5c7a514", "sha256": "1b9f697a93491ae42ed653c1e78ea25a33532afab87b513e6890975450271a01" }, "downloads": -1, "filename": "crc16-0.1.1.zip", "has_sig": false, "md5_digest": "9a3ba41c8f8377bb56b8e570c5c7a514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20883, "upload_time": "2011-06-04T23:19:03", "url": "https://files.pythonhosted.org/packages/27/f8/44fab1c8f71faafa1e5bbbb6e38102779846eb17d0e71885e952a5db3d28/crc16-0.1.1.zip" } ] }