barcodenumber
Python module to validate Product codes (EAN, EAN13, ISBN,...)
What it is and what it does
barcodenumber is a validation library for product identification codes. It wraps python-stdnum to provide a simple interface for checking the validity of barcodes and product identifiers across multiple standards—EAN, GTIN, ISBN, UPC, CODE39, GS1, and others. You pass a code type and a string to its check_code function, and it returns True or False.
The package is straightforward to use but carries significant risk: it has been abandoned since 2019-11-06 with no maintenance, no updates for modern Python versions, and no bug fixes. The classifiers claim support only through Python 3.8, and actual compatibility with later versions is unknown. The GPL-3 copyleft license also restricts use in proprietary or differently licensed projects.
Use it for:
- Validate EAN-13 or EAN-8 codes in e-commerce product databases.
- Check ISBN validity when processing book metadata or library systems.
- Verify GTIN-14 codes in supply chain or inventory management applications.
- Validate UPC codes in retail point-of-sale systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Validates product codes across multiple barcode and ISBN standards including EAN, GTIN, ISBN, UPC, and others using a simple check function.
No, unless you are maintaining legacy code already using it. The package is abandoned with no recent maintenance, unverified compatibility with modern Python versions, and a copyleft GPL-3 license that may conflict with your project. For new projects, use an actively maintained barcode validation library instead.
Install
barcodenumber on PyPI
pip
pip install barcodenumberuv
uv add barcodenumberpoetry
poetry add barcodenumberInstalling barcodenumber
Before you install
Low install friction with a single runtime dependency (python-stdnum). However, the package is abandoned—last release was 2019-11-06, over 2473 days ago—so expect no maintenance, bug fixes, or compatibility updates.
License in practice
Licensed under GPL-3 (copyleft). Any derivative work or distribution must also be GPL-3 licensed, which may conflict with proprietary projects or other license requirements.
Quickstart
pip install barcodenumber
import barcodenumber
barcodenumber.check_code('ean13', '9788478290222')
Package is abandoned since 2019-11-06 with only Python 2.7 and 3.3–3.8 listed in classifiers; compatibility with later versions is unverified.
Verify before relying
- Whether the package actually works on Python versions after 3.8 despite being abandoned.
- Current maintenance status of the python-stdnum dependency and whether it remains actively supported.
Package facts
| License | GPL-3 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — python-stdnum |
| Maintenance | abandoned — 2,473 days since the last release |
| First released | |
| Downloads | 447,267/month — #6,608 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: barcodenumber-0.5.0-py2-none-any.whl; barcodenumber-0.5.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
biipBiip parses and interprets data encoded in…
permissive · top 15,000 on PyPI
isbnlibisbnlib validates, cleans, transforms, and…
copyleft · top 15,000 on PyPI
python-stdnumParses, validates, and reformats standard…
copyleft · top 5,000 on PyPI
pyStrichpyStrich generates 1D and 2D barcodes (Code 39,…
permissive · top 15,000 on PyPI
bagit-profileValidates BagIt bags against BagIt profile…
permissive · top 15,000 on PyPI
segnoGenerates QR codes and Micro QR codes…
permissive · top 5,000 on PyPI
pyzbarDecodes one-dimensional barcodes and QR codes…
permissive · top 5,000 on PyPI
python-escposPython library to send text, images, barcodes,…
permissive · top 15,000 on PyPI
rfc3339-validatorValidates whether a string conforms to the…
permissive · top 1,000 on PyPI