{ "info": { "author": "Clint Garwood", "author_email": "clint@garwoodpr.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Customer Service", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Topic :: Office/Business", "Topic :: Office/Business :: Financial", "Topic :: Office/Business :: Financial :: Point-Of-Sale", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Security :: Cryptography", "Topic :: Text Processing :: General" ], "description": "Luhn Account Number Validator\r\n=============================\r\n\r\nThe Luhn Algorithm Validator\r\n----------------------------\r\n\r\nTests 14-16 Digit Account Numbers for\r\n-------------------------------------\r\n\r\nLuhn Algorithm Compliance\r\n-------------------------\r\n\r\n| This module, written in python3, takes a 14, 15, or 16 digit account\r\n number\r\n| (for example a credit/debit card number) and applies the Luhn\r\n Algorithm to\r\n| the provided data. If the data passes the test the system returns\r\n \u2018True\u2019,\r\n| else the system returns \u2018False\u2019.\r\n\r\n| An account number must be provided as a simple all-digits string\r\n without any\r\n| type of separators, including spaces, or the function will return\r\n \u2018False\u2019.\r\n| False values are also returned if the string contains any alpha\r\n characters,\r\n| punctuation marks or non-digit characters of any kind.\r\n\r\nUsing the Luhn Algorithm Validator\r\n----------------------------------\r\n\r\n\u2019\r\n\r\n::\r\n\r\n $ pip3 install Luhn_Algorithm_Validator \r\n $ pip3 install Luhn_Algorithm_Validator --upgrade\r\n\r\n from luhn.luhn import aLuhn \r\n\r\n >>> cardNumber = '2222222222222224' \r\n >>> trueOrFalse = aLuhn.doLuhn(cardNumber) \r\n >>> trueOrFalse \r\n True \r\n\r\n >>> cardNumber = '2222222222222222' \r\n >>> trueOrFalse = aLuhn.doLuhn(cardNumber) \r\n >>> trueOrFalse \r\n False \r\n\r\n\u2019", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/garwoodpr/LuhnAlgorithmProof", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/garwoodpr/LuhnAlgorithmProof", "keywords": "'Luhn Algorithm', 'account number validation', 'credit card validation', 'text analysis', 'information processing', 'data verification', cryptography, 'numerical decoding',", "license": "MIT", "maintainer": "Clint Garwood", "maintainer_email": "clint@garwoodpr.com", "name": "Luhn_Algorithm_Validator", "package_url": "https://pypi.org/project/Luhn_Algorithm_Validator/", "platform": "OS Independent", "project_url": "https://pypi.org/project/Luhn_Algorithm_Validator/", "project_urls": { "Download": "https://github.com/garwoodpr/LuhnAlgorithmProof", "Homepage": "https://github.com/garwoodpr/LuhnAlgorithmProof" }, "release_url": "https://pypi.org/project/Luhn_Algorithm_Validator/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "Luhn Account Number Validator", "version": "1.0.2" }, "last_serial": 1684509, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "fc9d8381f1e27451346891b84917d4a3", "sha256": "0cfe9e7186eb32eb8bff13550bc36d225f21bcc069474628e7ddb7b3030f4b61" }, "downloads": -1, "filename": "luhn_algorithm_validator-1.0.2.tar.gz", "has_sig": false, "md5_digest": "fc9d8381f1e27451346891b84917d4a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4452, "upload_time": "2015-08-19T18:06:26", "url": "https://files.pythonhosted.org/packages/ce/7b/4fbea3d7939fa00196caee0f2756036ad5b975e59d0babf8d68966f20495/luhn_algorithm_validator-1.0.2.tar.gz" } ], "1.0.2": [] }, "urls": [] }