Comparison
brazilnum vs python-stdnum vs pyvat vs validate-docbr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Validate Brazilian CNPJ, CEI, CPF, PIS/PASEP, CEP, and municipal numbers
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install brazilnumPython module to handle standardized numbers and codes
Maintained. Last release 11 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install python-stdnumVAT validation for Python
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pyvatValidate brazilian documents.
Maintained. Last release 2 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install validate-docbrIn short
- pyvat is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- python-stdnum is the most used: 8.1M downloads a month, 33× more than validate-docbr.
- validate-docbr is better maintained: Pythie’s Index 57 against 43.
- python-stdnum is growing fastest: downloads +31% over the last month.
Side by side
| Metric | brazilnum | python-stdnum | pyvat | validate-docbr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 44 | 43 |