Metadata-Version: 2.1
Name: cpf-generator
Version: 2.1.0
Summary: Generate, Validate and Format brazilian CPF
Home-page: https://github.com/matalmeida/cpf-generator
Author: Matheus Almeida
Author-email: mat.almeida@live.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# CPF-Generator

![License](https://img.shields.io/pypi/l/cpf-generator.svg?style=flat)
![PyPI](https://img.shields.io/pypi/v/cpf-generator.svg)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cpf-generator.svg)
[![Downloads](https://pepy.tech/badge/cpf-generator)](https://pepy.tech/project/cpf-generator)

## Installing

```sh
$ pip install cpf-generator
```

## Usage

```py
from cpf_generator import CPF

cpf = CPF.generate() # Will generate a random CPF # EX: 46064927240
formatedCpf = CPF.format(cpf) # Will format the CPF to be printed in some place # EX: 460.649.272-40
CPF.unformat(formatedCPF) # Works with formated CPF # EX: 46064927240
CPF.validate(cpf) # Will return True if the CPF is valid or False if not # EX: True
CPF.validate(formatedCPF) # Works with formated CPF # EX: True
```

## by [Matheus Almeida](https://twitter.com/mat_almeida)

Work with braziian CPF easily

# MIT License


