Metadata-Version: 2.4
Name: pyStrich
Version: 0.16
Summary: PyStrich is a Python module to generate 1D and 2D barcodes: Code 39, Code 128 (including GS1-128), EAN-13, ITF-14, Data Matrix (including GS1 Data Matrix), QR Code, PDF417 and Aztec Code.
Project-URL: Homepage, https://github.com/mmulqueen/pyStrich
Project-URL: Repository, https://github.com/mmulqueen/pyStrich
Project-URL: Documentation, https://www.method-b.uk/pyStrich/docs/
Author-email: Michael Mulqueen <mike@method-b.uk>
Maintainer-email: Michael Mulqueen <mike@method-b.uk>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: aztec,barcode,code128,code39,datamatrix,ean13,gs1,interleaved-2-of-5,itf14,pdf417,qrcode
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Office/Business
Requires-Python: >=3.10
Requires-Dist: pillow>=10.3; python_version < '3.11'
Requires-Dist: pillow>=12.2; python_version >= '3.11'
Requires-Dist: typing-extensions>=4.15.0
Provides-Extra: png
Requires-Dist: pillow>=10.3; (python_version < '3.11') and extra == 'png'
Requires-Dist: pillow>=12.2; (python_version >= '3.11') and extra == 'png'
Description-Content-Type: text/markdown

<img src="https://raw.githubusercontent.com/mmulqueen/pyStrich/main/docs/static/logo.png" alt="pyStrich" width="200">

pyStrich
========
pyStrich is a 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/

<a href="https://github.com/mmulqueen/pyStrich/actions/workflows/python-qa.yml"><img
                alt="Python QA workflow status"
                src="https://github.com/mmulqueen/pyStrich/workflows/Python%20QA/badge.svg"></a>
<a href="https://pypi.org/project/pyStrich/"><img
alt="Newest PyPI version"
src="https://img.shields.io/pypi/v/pyStrich.svg"></a>

Background
----------
pyStrich was originally a fork of [huBarcode](https://github.com/hudora/huBarcode). huBarcode was developed by
[HuDoRa](http://www.hudora.de/en/) from at least 2007, and has not been active since late 2013.
[Method B Ltd](https://www.method-b.uk/) 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.
