Biip

Latest version: v3.5.2

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

Scan your dependencies

Page 5 of 6

0.5.0

- **Breaking change:** Change argument `separator_char` to `separator_chars` in plural, accepting an iterable of multiple characters.

0.4.0

- Add [Quickstart](https://biip.readthedocs.io/en/latest/quickstart/) guide.

`biip`

- **Breaking change:** Change return value of `parse()` from `Union[Gtin, GS1Message]` to `ParseResult`.
- If a Symbology Identifier is present, select parser based on it.
- Improved parsing error messages.

`biip.sscc`

- Add `Sscc` class to parse, validate, and format Serial Shipping Container Codes (SSCC).

`biip.symbology`

- Add support for parsing and stripping Symbology Identifiers.

0.3.1

`biip`

- Strip surrounding whitespace before selecting parser.

0.3.0

`biip.gs1`

- Add `filter()` to find all parsed Element Strings that match the criteria.
- Add `get()` to find first parsed Element String that matches the criteria.
- Add `decimal` field which is set for AIs with weight, volume, dimensions, discount percentages, and amounts payable.
- Add `money` field which is set for AIs with both amounts payable and currency. This field is only set if the optional dependency `py-moneyed` is installed.
- Strip surrounding whitespace before parsing.

`biip.gtin`

- Detect Restricted Circulation Numbers (RCN) and return a subclass of `Gtin`, `Rcn`, with additional fields and helpers for working with RCNs.
- Classify an RCN as being restricted to either a geographical region or to a company.
- Support interpreting RCNs according to varying rules depending on the geographical region specified by the user.
- Support for zeroing out the variable measure part, to help with looking up trade items in a database or similar.
- Add RCN rules for the Baltics, Great Britain, Norway, and Sweden.
- Strip surrounding whitespace before parsing.
- Bugfix: Keep all leading zeros in GTIN-8.
- Bugfix: Convert GTIN-8 to GTIN-12 before extracting GS1 Prefix.

0.2.1

`biip.gtin`

- Raise `ParseError` if there is less than 8 or more than 14 significant digits in the barcode.

0.2.0

`biip`

- `parse()` can parse GTIN and GS1-128 data.

`biip.gs1`

- `GS1Message` can parse GS1-128 data.
- `GS1ApplicationIdentifier` recognizes all 480 existing GS1 AIs.
- `GS1Prefix` recognizes all existing GS1 prefixes.
- `checksums` has functions to calculate check digits for numeric data and price/weight fields.

`biip.gtin`

- Support for validating, parsing, and converting between GTIN-8, GTIN-12, GTIN-13, and GTIN-14.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.