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.

  • GS1 Digital Link URIs, commonly found in QR codes and Data Matrix 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',
        iso_symbology=ISOSymbology.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-5.0.0.tar.gz (210.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biip-5.0.0-py3-none-any.whl (184.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for biip-5.0.0.tar.gz
Algorithm Hash digest
SHA256 261293aa28a8df20e6e2d155a8a35cccd8ed15b6c8ebbb90d8d85793ae4185d1
MD5 6156219e017dbcede5419f13e8a68e49
BLAKE2b-256 554e5c1a9af471374734c623a97397b089213309f762ed2f4496f991e7cf44a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for biip-5.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-5.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for biip-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4c7910d7d1a8bb2a680335fe05359e050dcf62f408dd58e35a0367433ea58b
MD5 a67b9a1ae793670b7b5a636f180aa518
BLAKE2b-256 528f26c38ded673ec5c55df2f08d0ea4b2648350894e2a0110cee38ddacb30e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for biip-5.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page