Skip to main content

Brazilian CPF Tester

Project description

Brazilian CPF Tester (WTTD training)
=====================================

*br-cpf-tester* This is a test implementatipon of the Brazilian CPF Validation as part of
the "Mão na Massa" proposal of the 4th module of Welcome to the Django
training (http://welcometothedjango.com.br/).

CPF is a document that identifies a taxpayer at the Federal Internal Revenue
Department. The CPF carries registration information supplied by the
individual and by the Federal Internal Revenue Department database.

This number is currently formated as XXX.XXX.XXX-DD where X are digits and D
are check digits.

.. image:: https://travis-ci.org/Jaimenms/python-br-cpf-tester.svg?branch=master
:target: https://travis-ci.org/Jaimenms/python-br-cpf-tester

.. image:: https://landscape.io/github/Jaimenms/python-br-cpf-tester/master/landscape.svg?style=flat
:target: https://landscape.io/github/Jaimenms/python-br-cpf-tester/master
:alt: Code Health


Como desenvolver?
-----------------

1. Clone o repositório
2. Crie um virtualenv com Python 3.6.
3. Ative o virtualenv.
4. Instale as dependências
5. Execute os testes

.. code-block:: console
git clone git@github.com:jaimenms/python-br-cpf-tester.git python brcpf
cd brcpf
python -m venv .brcpf
source .brcpf/bin/activate
pip install -r requirements.txt
pytest

Como utilizar?
--------------

1. Instale o pacote
2. Execute o módulo

.. code-block:: console
pip install braziliancpftests
import brcpftester
python brcpftester.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

br-cpf-tester-0.1.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page