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
  • ean13
  • datamatrix
  • qrcode

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

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.14
File Size Uploaded Provenance Actions
pystrich-0.14.tar.gz 820.6 kB With provenance Details for pystrich-0.14.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / pystrich-0.14.tar.gz

Download URL pystrich-0.14.tar.gz
Size 820.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e317219bf65b9141fddb74cd7b6ab74cc7f0baad2cc923f9fbf7ad8122beaba3
BLAKE2b-256 checksum
How to use checksums
f8e6630a051b39f33834682233a82f139d70cd143278032a7add7a3a4551cb4d
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 May 18, 2026.

Transparency log

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

Download URL pystrich-0.14-py3-none-any.whl
Size 969.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5b738328cf96c44f3f484cf63aeab7c364546fa3e28fef060adc8978b88183f
BLAKE2b-256 checksum
How to use checksums
58a2a2837aa5658eeb7e53d838f1e164657742c4b761cbbc301e7e5e8d60ad09
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 May 18, 2026.

Transparency log

Security for pyStrich 0.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.

Full provenance

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

Select from 2 files

Attestation for pystrich-0.14.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 May 18, 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