Skip to content

Daniel3dartist/PyFBIG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFBIG (Python - Fake Brazilian ID Generator)

PyPI version python tests codecov GitHub License

PyFBIG is a package that generates fake data for you. Do you need to test something with Brazilian identification such as RG, CPF, Driver's License, CRM, COREN, etc.? PyFBIG is for you.

How to use

Install

pip install pyFBIG

Examples:

from pyFBIG import FakeID

fake = FakeID()

cpf = fake.cpf_number()
print(cpf)
# 163.710.406-50

rg = fake.rg_number()
print(rg)
# 86103044

rg = fake.rg()
print(rg)
# {
#  'name':'Lucimara Santos Lemos',
#  'gender': 'F',
#  'birth': {
#    'day': '21/10/1954',
#    'city':'Pocos de Caldas',
#    'state':'MG'
#     },
#  'org': {
#     'org_name': 'Secretaria de Segurança Pública',
#     'org_acronym': 'SSP',
#     'state': 'MG',
#         },
#  'affiliation': {
#    'father': 'Ronaldo Castro Lemos', 
#    'mother': 'Sophia Santos Lemos'
#    },
#  'rg': MG88103067
# }

crm = fake.crm_number()
print(crm)
# 40635352-0/BR

About the project

It is still in the prototyping and development phase. Feel free to contribute and suggest improvements.

About

Python Fake Brazilian ID Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages