Biip interprets the data in barcodes. It parses GS1 barcodes (GTIN, GLN, SSCC, etc.), GS1 Application Identifiers, and GS1 Digital Link URIs. Current version 5.0.0, requires Python >=3.10. Active development, releases a few times per year.
pip install biipNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a GTIN barcode and a GS1 message with expiry date.
Update code to handle GS18Prefix accordingly; see upgrade guide.
Treat result objects as immutable; use new instances with modifications.
Check return value for None instead of catching ParseError.
Use 'from biip.gs1_digital_link import ...' instead of 'from biip.gs1_web_uri import ...'.
Ensure your code does not reject redundant separators if that was previous behavior.
Use 'from biip.gtin import Gtin'
Check if result.gtin is not None before using it.
Do not modify Gtin objects; create new ones if needed.