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:

  • code39
  • code128 (including GS1-128)
  • ean13
  • datamatrix (including GS1 Data Matrix)
  • qrcode
  • pdf417
  • aztec

pyStrich only depends on Pillow and has no other dependencies. It only supports encoding, 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.15

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.15
File Size Uploaded Provenance Actions
pystrich-0.15.tar.gz 871.5 kB With provenance Details for pystrich-0.15.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / pystrich-0.15.tar.gz

Download URL pystrich-0.15.tar.gz
Size 871.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6934fdb8093a2788b148e51f9a43c815a7cedb532728987555d1d181e170b35d
BLAKE2b-256 checksum
How to use checksums
54043b0ffbd798347e3d3ad378534f9574a6d01d2a8ade326900629a6454d8fd
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 Jun 26, 2026.

Transparency log

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

Download URL pystrich-0.15-py3-none-any.whl
Size 948.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38121667c6ac4da350a4c5b18f613d4f0ccf12382ab1fbb9d5c192fb7e22e92f
BLAKE2b-256 checksum
How to use checksums
aad3ead3916ed06f845b88ea57124aab42aaae7d131cef5a21fc8bc37e47c062
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 Jun 26, 2026.

Transparency log

Security for pyStrich 0.15

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.15.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 Jun 26, 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