Skip to main content
pyStrich

pyStrich

pyStrich is a 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/

Python QA workflow status Newest PyPI version

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 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

If you worry about copyright you might consider this Software BSD-Licensed. If you are still worried, you might consider it GPL1/2/3 compatible. But don't worry. If you need something formal: The code is available under the Apache License, Version 2.0.

Metadata

Release files for pyStrich 0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyStrich 0.16
File Size Uploaded Provenance Actions
pystrich-0.16.tar.gz 882.3 kB With provenance Details for pystrich-0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyStrich 0.16
File Interpreter ABI Platform Actions
pystrich-0.16-py3-none-any.whl Python 3 none any Details for pystrich-0.16-py3-none-any.whl

Total release size: 1.8 MB

Release files / pystrich-0.16.tar.gz

Download URL pystrich-0.16.tar.gz
Size 882.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ecc96c0af9bf1228511cf06fba58a789d81bbd91bf8361a98b84d1d74d4b141
BLAKE2b-256 checksum
How to use checksums
a96f1e2d33b45431de0d1b3a4add92601af5410135beed9072d5ab5b3563b303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 3, 2026.

Transparency log

Release files / pystrich-0.16-py3-none-any.whl

Download URL pystrich-0.16-py3-none-any.whl
Size 956.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb47a08830ff9c59d868b314ec9ab5a947be1d15fee275857b0fc36cb2310cc1
BLAKE2b-256 checksum
How to use checksums
ec6596aed703f0e534ac00d3f70cf280bac8dbd0e8632a2519508d19caad5412
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 3, 2026.

Transparency log

Security for pyStrich 0.16

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pystrich-0.16.tar.gz

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 Jul 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page