Comparison
brazilnum vs pycpfcnpj vs python-stdnum vs pyvat
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 for brazilian register numbers for persons (CPF) and companies (CNPJ).
Maintained. Last release 10 months ago. Weaker on release cadence.
pip install pycpfcnpjPython 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 pyvatIn 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, 82× more than brazilnum.
- pycpfcnpj is better maintained: Pythie’s Index 54 against 43.
- python-stdnum is growing fastest: downloads +31% over the last month.
Side by side
| Metric | brazilnum | pycpfcnpj | python-stdnum | pyvat |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 44 | Pythie’s Index: 54 | Pythie’s Index: 43 | Pythie’s Index: 27 |
| Verdict | Maintained | Maintained | Maintained | Slowing down |
| Downloads / month | 98.7K | 80.2K | 8.1M | 76.5K |
| Downloads, month over month | -7% | +12% | +31% | -5% |
| GitHub stars | 100 | – | 611 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 6 | 77 | 3 |
| Last release | Jul 24, 2026 | Jan 25, 2026 | Jan 4, 2026 | Jan 25, 2024 |
| Releases, 12 months | 2 | 1 | 1 | 0 |
| Weeks with commits | 2 / 26 | – | 4 / 26 | – |
| Recent contributors | 2 | – | 24 | – |
| First release | Nov 2014 | Feb 2015 | Sep 2010 | Apr 2013 |
| Python versions | 3.9 – 3.14 | 3.8 – 3.14 | 3.8 – 3.14 | 3.3 – 3.7 |
| License | MIT | MIT | LGPL-2.0-or-later | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.