{ "info": { "author": "Michael McLoughlin", "author_email": "mmcloughlin@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "luhn\n====\n\n|pypi| |buildstatus| |coverage|\n\nGenerate and verify Luhn check digits\n\nInstall with\n\n::\n\n pip install luhn\n\nUse ``verify`` to check digit strings\n\n.. code:: python\n\n >>> from luhn import *\n >>> verify('356938035643809')\n True\n >>> verify('534618613411236')\n False\n\nand use ``generate`` to produce them\n\n.. code:: python\n\n >>> generate('53461861341123')\n 4\n\nor ``append`` for convenience\n\n.. code:: python\n\n >>> append('53461861341123')\n '534618613411234'\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/luhn.svg?style=flat-square\n :target: https://pypi.python.org/pypi/luhn\n\n.. |buildstatus| image:: https://img.shields.io/travis/mmcloughlin/luhn.svg?style=flat-square\n :target: https://travis-ci.org/mmcloughlin/luhn\n\n.. |coverage| image:: https://img.shields.io/coveralls/mmcloughlin/luhn.svg?style=flat-square\n :target: https://coveralls.io/r/mmcloughlin/luhn", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mmcloughlin/luhn", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "luhn", "package_url": "https://pypi.org/project/luhn/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/luhn/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mmcloughlin/luhn" }, "release_url": "https://pypi.org/project/luhn/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Generate and verify Luhn check digits", "version": "0.2.0" }, "last_serial": 1602769, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0db906e8a7fb03fc8cb1c14744a9da5a", "sha256": "6375349a88dd244b69060976166505025b805fee2f1f78b529fb6cc53037cf9d" }, "downloads": -1, "filename": "luhn-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0db906e8a7fb03fc8cb1c14744a9da5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1600, "upload_time": "2015-06-23T06:08:51", "url": "https://files.pythonhosted.org/packages/9e/e1/acb68097fd88377556a50738c3bbf197c98d94b2c77367483e497b7f1268/luhn-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4b63911647a9140c7da2e6fd9a014c3c", "sha256": "fb1f52640c7009c9b4cef5115bbbfb16e7c78aa58a47e4c646716950caf64489" }, "downloads": -1, "filename": "luhn-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4b63911647a9140c7da2e6fd9a014c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1601, "upload_time": "2015-06-23T06:23:02", "url": "https://files.pythonhosted.org/packages/aa/64/81fdfeabd901cd6fae47937e2bfc1686670dcf93c09393e20f08b141bec4/luhn-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7b59c7201b5ca8a9e458d923e6ba9e37", "sha256": "917174cecce8bcbbe56ac0d904dbedd06594b21b6f31d5a3ec161d455b0e59f7" }, "downloads": -1, "filename": "luhn-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7b59c7201b5ca8a9e458d923e6ba9e37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1734, "upload_time": "2015-06-23T07:08:35", "url": "https://files.pythonhosted.org/packages/b2/de/2e989e69fdc81222fd0015f0e9e6899d32e7feea3e5f43267d60a3431163/luhn-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b59c7201b5ca8a9e458d923e6ba9e37", "sha256": "917174cecce8bcbbe56ac0d904dbedd06594b21b6f31d5a3ec161d455b0e59f7" }, "downloads": -1, "filename": "luhn-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7b59c7201b5ca8a9e458d923e6ba9e37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1734, "upload_time": "2015-06-23T07:08:35", "url": "https://files.pythonhosted.org/packages/b2/de/2e989e69fdc81222fd0015f0e9e6899d32e7feea3e5f43267d60a3431163/luhn-0.2.0.tar.gz" } ] }