Skip to main content

Biip interprets the data in barcodes.

Project description

📦 Biip

Biip interprets the data in barcodes.

CI Docs Coverage PyPI


Biip is a Python library for making sense of the data in barcodes.

The library can interpret the following formats:

  • GTIN-8, GTIN-12, GTIN-13, and GTIN-14 numbers, commonly found in EAN-8, EAN-13, and ITF-14 barcodes.

  • GS1 AI element strings, commonly found in GS1-128 barcodes.

  • UPC-A and UPC-E numbers, as found in UPC-A and UPC-E barcodes.

For a quickstart guide and a complete API reference, see the documentation.

Example

>>> from rich import print
>>> import biip
>>> print(biip.parse("]E09781492053743"))
ParseResult(
    value=']E09781492053743',
    symbology_identifier=SymbologyIdentifier(
        value=']E0',
        symbology=Symbology.EAN_UPC,
        modifiers='0',
        gs1_symbology=GS1Symbology.EAN_13
    ),
    gtin=Gtin(
        value='9781492053743',
        format=GtinFormat.GTIN_13,
        prefix=GS1Prefix(value='978', usage='Bookland (ISBN)'),
        company_prefix=None,
        payload='978149205374',
        check_digit=3
    )
)

Project resources

License

Copyright 2020-2025 Stein Magnus Jodal and contributors. Licensed under the Apache License, Version 2.0.

Project details


Download files

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

Source Distribution

biip-4.0.0.tar.gz (200.7 kB view details)

Uploaded Source

Built Distribution

biip-4.0.0-py3-none-any.whl (176.0 kB view details)

Uploaded Python 3

File details

Details for the file biip-4.0.0.tar.gz.

File metadata

  • Download URL: biip-4.0.0.tar.gz
  • Upload date:
  • Size: 200.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for biip-4.0.0.tar.gz
Algorithm Hash digest
SHA256 2caea44742ed6685f14e90a7cb08ee9fe70c9c60883ae311a96d4bef9990f32e
MD5 ed947f68652e1c8e7f44743a68fb65e6
BLAKE2b-256 7ff736e6fb442688b0f10d5aa19a6733f6ef2172bf1924c183bd39c23d390610

See more details on using hashes here.

Provenance

The following attestation bundles were made for biip-4.0.0.tar.gz:

Publisher: release.yml on jodal/biip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file biip-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: biip-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 176.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for biip-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7a5da85ec41cd18344ce00a3e481c626a4f6bb8a597ce1e24590f895009cec
MD5 03ebba2552fc6d5c3c2fd72ea12038ca
BLAKE2b-256 cbb58e106a0cf1b24f68840e55c0d61a30c42b6171f7496dda192570c49403df

See more details on using hashes here.

Provenance

The following attestation bundles were made for biip-4.0.0-py3-none-any.whl:

Publisher: release.yml on jodal/biip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page