skillfed

barcodenumber

Python module to validate Product codes (EAN, EAN13, ISBN,...)

barcodenumber v0.5.0 447.3K downloads/30d#6,608 on PyPI
Copyleft license GPL-3 Abandoned released

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 barcodenumber

uv

uv add barcodenumber

poetry

poetry add barcodenumber

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License (GPL)Operating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Libraries :: Python Modules

Tags

barcode validationEAN ISBN UPC checkproduct code validatorGTIN validationbarcode format verify
barcode-validationabandoned

More Python Modules packages