Biip interprets the data in barcodes.
Project description
📦 Biip
Biip interprets the data in barcodes.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2caea44742ed6685f14e90a7cb08ee9fe70c9c60883ae311a96d4bef9990f32e
|
|
MD5 |
ed947f68652e1c8e7f44743a68fb65e6
|
|
BLAKE2b-256 |
7ff736e6fb442688b0f10d5aa19a6733f6ef2172bf1924c183bd39c23d390610
|
Provenance
The following attestation bundles were made for biip-4.0.0.tar.gz
:
Publisher:
release.yml
on jodal/biip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
biip-4.0.0.tar.gz
-
Subject digest:
2caea44742ed6685f14e90a7cb08ee9fe70c9c60883ae311a96d4bef9990f32e
- Sigstore transparency entry: 193501310
- Sigstore integration time:
-
Permalink:
jodal/biip@d488b00e37efd2f49fa97ff0238e2bfc5125f595
-
Branch / Tag:
refs/tags/v4.0.0
- Owner: https://github.com/jodal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@d488b00e37efd2f49fa97ff0238e2bfc5125f595
-
Trigger Event:
release
-
Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9e7a5da85ec41cd18344ce00a3e481c626a4f6bb8a597ce1e24590f895009cec
|
|
MD5 |
03ebba2552fc6d5c3c2fd72ea12038ca
|
|
BLAKE2b-256 |
cbb58e106a0cf1b24f68840e55c0d61a30c42b6171f7496dda192570c49403df
|
Provenance
The following attestation bundles were made for biip-4.0.0-py3-none-any.whl
:
Publisher:
release.yml
on jodal/biip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
biip-4.0.0-py3-none-any.whl
-
Subject digest:
9e7a5da85ec41cd18344ce00a3e481c626a4f6bb8a597ce1e24590f895009cec
- Sigstore transparency entry: 193501312
- Sigstore integration time:
-
Permalink:
jodal/biip@d488b00e37efd2f49fa97ff0238e2bfc5125f595
-
Branch / Tag:
refs/tags/v4.0.0
- Owner: https://github.com/jodal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@d488b00e37efd2f49fa97ff0238e2bfc5125f595
-
Trigger Event:
release
-
Statement type: