{ "info": { "author": "Jaime Neiva Miranda de Souza", "author_email": "jaimenms@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "Brazilian CPF Tester (WTTD training)\n=====================================\n\n*br-cpf-tester* This is a test implementatipon of the Brazilian CPF Validation as part of\nthe \"M\u00e3o na Massa\" proposal of the 4th module of Welcome to the Django\ntraining (http://welcometothedjango.com.br/).\n\nCPF is a document that identifies a taxpayer at the Federal Internal Revenue\nDepartment. The CPF carries registration information supplied by the\nindividual and by the Federal Internal Revenue Department database.\n\nThis number is currently formated as XXX.XXX.XXX-DD where X are digits and D\nare check digits.\n\n.. image:: https://travis-ci.org/Jaimenms/python-br-cpf-tester.svg?branch=master\n :target: https://travis-ci.org/Jaimenms/python-br-cpf-tester\n\n.. image:: https://landscape.io/github/Jaimenms/python-br-cpf-tester/master/landscape.svg?style=flat\n :target: https://landscape.io/github/Jaimenms/python-br-cpf-tester/master\n :alt: Code Health\n\n\nComo desenvolver?\n-----------------\n\n#. Clone o reposit\u00f3rio\n#. Crie um virtualenv com Python 3.6.\n#. Ative o virtualenv.\n#. Instale as depend\u00eancias\n#. Execute os testes\n\n.. code-block:: console\n\n git clone git@github.com:jaimenms/python-br-cpf-tester.git python brcpf\n cd brcpf\n python -m venv .brcpf\n source .brcpf/bin/activate\n pip install -r requirements.txt\n pytest\n\nComo instalar?\n--------------\n\n.. code-block:: console\n\n pip install br-cpf-tester\n\n\nComo utilizar dentro de um validator.py no django?\n--------------------------------------------------\n\n.. code-block:: python\n\n from django.core.exceptions import ValidationError\n from brcpftester import BrazilianCpfValidationTests\n\n def validate_cpf(value):\n cpf = BrazilianCpfValidationTests()\n cpf(value)\n for test in cpf.tests:\n raise ValidationError(cpf.GetMessage(test), test)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Jaimenms/python-br-cpf-tester", "keywords": "validator cpf Brazil WTTD", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "br-cpf-tester", "package_url": "https://pypi.org/project/br-cpf-tester/", "platform": "", "project_url": "https://pypi.org/project/br-cpf-tester/", "project_urls": { "Homepage": "https://github.com/Jaimenms/python-br-cpf-tester" }, "release_url": "https://pypi.org/project/br-cpf-tester/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Brazilian CPF Tester", "version": "0.1.4" }, "last_serial": 2983182, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "eebdbfae8121df1c5fa436d0df88b5fe", "sha256": "9fe73994e0ad11813ffa9107cb77fc41005dbedab2e2b75f08b8f3e5c63509aa" }, "downloads": -1, "filename": "br-cpf-tester-0.1.3.tar.gz", "has_sig": false, "md5_digest": "eebdbfae8121df1c5fa436d0df88b5fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4879, "upload_time": "2017-06-27T21:16:57", "url": "https://files.pythonhosted.org/packages/e2/05/d9de9630a2ba8f84b4fec9e5340099b17db5105e0d9aead4c17f643dd39b/br-cpf-tester-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "3f91d86fd97890b81e557b3be8c937c2", "sha256": "01cc4ddb56b47ec1b4256c293c064637254c677e5f0ec7549fa855b9524c8ed6" }, "downloads": -1, "filename": "br-cpf-tester-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3f91d86fd97890b81e557b3be8c937c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4984, "upload_time": "2017-06-27T21:42:24", "url": "https://files.pythonhosted.org/packages/e9/82/8a4733b6e42c7fb2861cc32b111790aac08e18b0600f9ece964b7c581fd4/br-cpf-tester-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f91d86fd97890b81e557b3be8c937c2", "sha256": "01cc4ddb56b47ec1b4256c293c064637254c677e5f0ec7549fa855b9524c8ed6" }, "downloads": -1, "filename": "br-cpf-tester-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3f91d86fd97890b81e557b3be8c937c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4984, "upload_time": "2017-06-27T21:42:24", "url": "https://files.pythonhosted.org/packages/e9/82/8a4733b6e42c7fb2861cc32b111790aac08e18b0600f9ece964b7c581fd4/br-cpf-tester-0.1.4.tar.gz" } ] }