Skip to main content

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

Project description

Python module to validate product codes.


  • code39
  • ean (ean12)
  • ean8
  • ean13
  • gtin (ean13)
  • gtin14
  • gs1_datamatrix
  • isbn
  • isbn10
  • isbn13
  • upc (ean12)


Here a simple example to validate product codes:

>>> import barcodenumber
>>> barcodenumber.check_code('ean13','9788478290222')
>>> barcodenumber.barcodes()
['CODE39', 'EAN', 'EAN13', 'EAN8', 'GS1', 'GTIN', 'ISBN', 'ISBN10', 'ISBN13',
'ISSN', 'JAN', 'PZN', 'UPC', 'UPCA']

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for barcodenumber, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size barcodenumber-0.5.0-py3-none-any.whl (16.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size barcodenumber-0.5.0-py2-none-any.whl (16.5 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page