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.

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.20.tar.gz (291.0 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.20-py3-none-any.whl (237.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystrich-0.20.tar.gz
  • Upload date:
  • Size: 291.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pystrich-0.20.tar.gz
Algorithm Hash digest
SHA256 0b49b446068348173ac37fc42dc1a25722d948480c6cb0a58c1e31d4b402e6f5
MD5 8be84e86f2283b722bb96e8325bf04a4
BLAKE2b-256 204359de87934e6e0c804ab95f0b64ab5a59949865907fd2964af8d4ce215f0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pystrich-0.20.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.20-py3-none-any.whl.

File metadata

  • Download URL: pystrich-0.20-py3-none-any.whl
  • Upload date:
  • Size: 237.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pystrich-0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d4cbe70da69ee9afd526e760bbd0274919de45c6cb75aab99c2702160cd0b66d
MD5 8959ed9cb9b1e2f15faf60ea5f458be4
BLAKE2b-256 0751b7ae875155273424e901f3d14dfec2983ca80272058ccbd4454634c8fe86

See more details on using hashes here.

Provenance

The following attestation bundles were made for pystrich-0.20-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.

Release history Release notifications | RSS feed

This release

0.20 This release

2 files

0.19

2 files

0.18

2 files

0.17

2 files

0.16

2 files

0.15

2 files

0.14

2 files

0.13

2 files

0.12

2 files

0.11

2 files

0.10

2 files

0.9

2 files

0.8

1 file

0.7

1 file

0.6

1 file

0.4

1 file

0.3

1 file

0.2

1 file

0.1

1 file

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