Comparison
barcodenumber vs gtin-validator vs pycpfcnpj vs python-stdnum
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python module to validate Product codes (EAN, EAN13, ISBN,...)
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install barcodenumberValidator for Global Trade Item Numbers (GTIN)
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install gtin-validatorPython 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 5 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install python-stdnumIn short
- barcodenumber looks abandoned: avoid it for new projects.
- gtin-validator looks abandoned: avoid it for new projects.
- python-stdnum is the most used: 8M downloads a month, 10× more than barcodenumber.
- Maintenance is comparable: pycpfcnpj 54, python-stdnum 45 on Pythie’s Index.
- python-stdnum is growing fastest: downloads +31% over the last month.
Side by side
| Metric | barcodenumber | gtin-validator | pycpfcnpj | python-stdnum |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 23 |