BSD Ports

graphics/py-strich 0.20 NetBSD

1D and 2D barcode generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
2-clause-bsd AND apache-2.0
Categories
graphics, python
Package size
298.0 KiB, 2159.1 KiB installed

Description

PyStrich is a Python module to generate 1D and 2D barcodes (Code 39, Code 128, DataMatrix, QRCode and EAN13).

Install

Binary package:

pkgin install py312-strich

From pkgsrc:

cd /usr/pkgsrc/graphics/py-strich && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.20
NetBSD 10.1 aarch640.14
SmartOS / illumos x86_640.20
macOS 15 arm640.20

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py313-strich-0.20, py314-strich-0.20

Commit history 3

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
0caf5d84a0 adam py-strich: updated to 0.20
0.20 All formats: numeric arguments (cell size, render options, encoder settings) are validated for type and range up front GS1-128: Code128Data.gs1 rejects payloads over the GS1 maximum of 48 data characters
22fedc9f10 adam py-strich: updated to 0.19
0.19 All encoders: harden against untrusted input by constraining input and output sizes — over-long payloads and over-large raster renders are now rejected before any allocation rather than exhausting memory or CPU. EAN-13 and ITF-14: new require_valid_check_digit option rejects a supplied check digit that is missing or incorrect instead of silently recomputing it. New exception subclasses :class:~pystrich.exceptions.PyStrichInvalidPayloadLength and :class:~pystrich.exceptions.PyStrichInvalidCheckDigit (both :class:~pystrich.exceptions.PyStrichInvalidInput) give over-capacity input and check-digit failures a distinct type.