Biip

Latest version: v3.5.2

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

1.0.0

The library has now been in production use for more than a half year. It has parsed millions of barcodes during this time, only uncovering a single bug that has long been fixed. As all planned features have been implemented and the library seems to be solid, it's time for a 1.0 release, marking the library as stable and production-ready.

If you're using Biip, please add yourself to the new [list of users](https://github.com/jodal/biip/wiki/Users)!

Changes

- Update the bundled GS1 Application Identifier definitions.

- Support specifying `rcn_region` as a string, e.g. `"no"`, instead of `RcnRegion.NORWAY`. The type annotations still expect a `RcnRegion` instance, which is the recommended way to use the API. By supporting strings instead of `RcnRegion` instances, the API is a bit easier to use interactively in a REPL.

0.6.2

- Add `py.typed` marker file, as specified in PEP561, as Biip is fully typed.

0.6.1

- Fix documentation build.

- Fix `__all__` export of `biip.DEFAULT_SEPARATOR_CHARS`.

0.6.0

- Add Python 3.6 support, using the `dataclasses` backport for Python 3.6.

- Add Python 3.9 to the test matrix.

0.5.2

- Bugfix: Add zero in front of GTIN-12 before extracting GS1 Prefix. GTIN-12s start with U.P.C. Company Prefixes, which have to be padded with a zero in front to convert them to valid GS1 Company Prefixes.

- Change the error message in the top-level parser's `ParseError` to include the name of data type we failed to parse.

0.5.1

- Bugfix: `biip.gtin.Rcn.without_variable_measure()` returns the instance unchanged for RCNs intended for usage within a company. Previously, this crashed as `Rcn.region` is unset for company RCNs.

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.