pyStrich
pyStrich is a fast pure-Python module to generate 1D and 2D barcodes in PNG, SVG and other image formats. Currently it supports:
- Code 39 (
code39) - Code 128 and GS1-128 (
code128) - EAN-13 (
ean13) - Interleaved 2 of 5 and ITF-14 (
itf) - Data Matrix and GS1 Data Matrix (
datamatrix) - QR Code (
qrcode) - PDF417 (
pdf417) - Aztec Code (
aztec)
PNG output requires Pillow, installable via the pyStrich[png] extra; SVG, EPS, DXF and terminal output do not. pyStrich supports encoding only, not decoding.
Available from PyPI: https://pypi.org/project/pyStrich/
Documentation: https://www.method-b.uk/pyStrich/docs/
Background
pyStrich was originally a fork of huBarcode. huBarcode was developed by HuDoRa from at least 2007, and has not been active since late 2013. Method B Ltd forked huBarcode as pyStrich in 2015 to provide Python 3 support and to continue development. pyStrich has been substantially enhanced over the years and has gone far beyond a simple port to Python 3. As of 2026, pyStrich is a modern Python package with full use of typing, linting and a comprehensive test suite.
Thanks to the folks at HuDoRa for the original huBarcode library that pyStrich grew out of.
License
The code is available under the Apache License, Version 2.0.
Release files for pyStrich 0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pystrich-0.20.tar.gz | 291.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pystrich-0.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 528.6 kB
Release files / pystrich-0.20.tar.gz
| Download URL | pystrich-0.20.tar.gz |
|---|---|
| Size | 291.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b49b446068348173ac37fc42dc1a25722d948480c6cb0a58c1e31d4b402e6f5
|
|
BLAKE2b-256 checksum How to use checksums |
204359de87934e6e0c804ab95f0b64ab5a59949865907fd2964af8d4ce215f0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logRelease files / pystrich-0.20-py3-none-any.whl
| Download URL | pystrich-0.20-py3-none-any.whl |
|---|---|
| Size | 237.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4cbe70da69ee9afd526e760bbd0274919de45c6cb75aab99c2702160cd0b66d
|
|
BLAKE2b-256 checksum How to use checksums |
0751b7ae875155273424e901f3d14dfec2983ca80272058ccbd4454634c8fe86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency log