Skip to main content

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

Project description

Python module to validate product codes.

Codes

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

Nutshell

Here a simple example to validate product codes:

>>> import barcodenumber
>>> barcodenumber.check_code('ean13','9788478290222')
True
>>> 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-py2-none-any.whl (16.5 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size barcodenumber-0.5.0-py3-none-any.whl (16.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page