/brazilian-ids

A Python 3 package that provides functions and classes to validate different Brazilian IDs

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

brazilian-ids

A Python 3 package that provides functions and classes to validate several Brazilian IDs.

Documentation

Current supported IDs:

  • CNPJ
  • Numeração única de processo judicial
  • CEP
  • Município
  • CPF
  • PIS/PASEP
  • CNO
  • SQL

See the module documentation for details.

Development

There are no external dependencies to just use the module.

For development, see the requirements-dev.txt and Makefile files.

To do

  • Create documentation at readthedocs website.
  • Refactor tests to use parametrized fixtures
  • Benchmark algorithms to pad IDs

References

This project borrows code and ideas from the following open source projects:

See also: