barcodenumber is a Python module, version 0.5.0, designed to validate various product codes such as EAN, EAN13, ISBN, ISBN10, and ISBN13. It offers a straightforward way to check the authenticity and correct format of barcode numbers, primarily using checksum algorithms. The library was last updated in November 2019 and supports Python 2.7 and Python 3.3-3.6. It is not actively maintained for newer Python versions or for barcode generation.
pip install barcodenumberVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import the library, validate an EAN13 and ISBN10 code using `check_code()`, and list all supported barcode types with `barcodes()`.
Use a Python environment with version 3.6 or older, or consider alternative, more actively maintained libraries for barcode validation or generation (e.g., `python-barcode` for generation if that's the intent).
If barcode generation is required, use a dedicated library like `python-barcode` (pypi.org/project/python-barcode/) or `pybarcodes` (pypi.org/project/pybarcodes/).
Evaluate if the specific validation needs are fully met by this version and if the risks of using an unmaintained library are acceptable. For long-term projects or those requiring robust support, seek actively maintained alternatives for barcode validation.
Instead of `from barcodenumber import EAN13` or `EAN13('...')`, use `import barcodenumber` and then `barcodenumber.check_code('ean13', '...')`.Ensure your Python environment is version 3.6 or older. If using a newer Python version, consider migrating to a different, actively maintained barcode library. Confirm `pip install barcodenumber` ran successfully.
Double-check the barcode number and the specified barcode type (e.g., 'ean13', 'isbn10', 'upc'). Ensure the input string contains the correct number of digits, including the check digit. Consult GS1 standards for specific barcode format requirements.
No dependency data recorded yet.