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

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.19
File Size Uploaded Provenance Actions
pystrich-0.19.tar.gz 290.8 kB With provenance Details for pystrich-0.19.tar.gz

Built distribution (wheel)

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

Total release size: 527.1 kB

Release files / pystrich-0.19.tar.gz

Download URL pystrich-0.19.tar.gz
Size 290.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0ccb8133cfe5a92f792047d5d3959b4fef1c99aae8980835c28231fac70f4fec
BLAKE2b-256 checksum
How to use checksums
76d130aa3a5224c7b9fd53b411c66938b3eee77e584a29d1f20f9f280a5eb190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 23, 2026.

Transparency log

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

Download URL pystrich-0.19-py3-none-any.whl
Size 236.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f29928c49dfad11ab1785ca3a7df6c59dd9108534615034cd024462e1f626bc
BLAKE2b-256 checksum
How to use checksums
6fd40a2060e6a6221ea0dd36db54dfb6c689b768d20daacffcf72cbe8e1020c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 23, 2026.

Transparency log

Security for pyStrich 0.19

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.19.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 23, 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