Skip to main content

PyStrich is a Python module to generate 1D and 2D barcodes: Code 39, Code 128 (including GS1-128), EAN-13, Data Matrix (including GS1 Data Matrix), QR Code, PDF417 and Aztec Code.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystrich-0.15.tar.gz (871.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pystrich-0.15-py3-none-any.whl (948.2 kB view details)

Uploaded Python 3

File details

Details for the file pystrich-0.15.tar.gz.

File metadata

  • Download URL: pystrich-0.15.tar.gz
  • Upload date:
  • Size: 871.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pystrich-0.15.tar.gz
Algorithm Hash digest
SHA256 6934fdb8093a2788b148e51f9a43c815a7cedb532728987555d1d181e170b35d
MD5 9a1e6f3b9de64358afd9c7fa81bed432
BLAKE2b-256 54043b0ffbd798347e3d3ad378534f9574a6d01d2a8ade326900629a6454d8fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pystrich-0.15.tar.gz:

Publisher: python-release.yml on mmulqueen/pyStrich

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pystrich-0.15-py3-none-any.whl.

File metadata

  • Download URL: pystrich-0.15-py3-none-any.whl
  • Upload date:
  • Size: 948.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pystrich-0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 38121667c6ac4da350a4c5b18f613d4f0ccf12382ab1fbb9d5c192fb7e22e92f
MD5 4735e020896b07edf6e9ebc966237c0f
BLAKE2b-256 aad3ead3916ed06f845b88ea57124aab42aaae7d131cef5a21fc8bc37e47c062

See more details on using hashes here.

Provenance

The following attestation bundles were made for pystrich-0.15-py3-none-any.whl:

Publisher: python-release.yml on mmulqueen/pyStrich

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page