Skip to main content
pyStrich

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/

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

Metadata

Release files for pyStrich 0.17

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.17
File Size Uploaded Provenance Actions
pystrich-0.17.tar.gz 278.1 kB With provenance Details for pystrich-0.17.tar.gz

Built distribution (wheel)

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

Total release size: 509.8 kB

Release files / pystrich-0.17.tar.gz

Download URL pystrich-0.17.tar.gz
Size 278.1 kB
Tags Source
SHA-256 checksum
How to use checksums
05b5ad4fc85140e16aa70e228484a0ab3cdb45f483a47251c8b40447f8627f0a
BLAKE2b-256 checksum
How to use checksums
70c8b10abe9261659c2fb85ea4aa6862546004c7a81506ff405d59597a2a597c
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 13, 2026.

Transparency log

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

Download URL pystrich-0.17-py3-none-any.whl
Size 231.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d9c91fff5909ff75764ed98f22aab50fda9706f44c36b1346f2db9cf5dfbb71
BLAKE2b-256 checksum
How to use checksums
01b3a69b9ee5ac55c2dbdf6adae9e2d1e898774f890b1b3acd2d6afdddf1f51b
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 13, 2026.

Transparency log

Security for pyStrich 0.17

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.17.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 13, 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