WhyNotHugo / python-barcode

㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python.
http://python-barcode.rtfd.io/
MIT License
576 stars 124 forks source link
barcode image pure-python python svg

python-barcode

.. image:: https://github.com/WhyNotHugo/python-barcode/actions/workflows/tests.yml/badge.svg :target: https://github.com/WhyNotHugo/python-barcode/actions :alt: CI status

.. image:: https://readthedocs.org/projects/python-barcode/badge/ :target: https://python-barcode.rtfd.org/ :alt: documentation

.. image:: https://img.shields.io/pypi/v/python-barcode.svg :target: https://pypi.python.org/pypi/python-barcode :alt: version on pypi

.. image:: https://img.shields.io/pypi/dm/python-barcode.svg :target: https://pypi.python.org/pypi/python-barcode :alt: downloads

.. image:: https://img.shields.io/pypi/l/python-barcode.svg :target: https://github.com/WhyNotHugo/python-barcode/blob/main/LICENCE :alt: licence

python-barcode provides a simple way to create barcodes in Python.

There are no external dependencies when generating SVG files. Pillow is required for generating images (e.g.: PNGs).

Support Python 3.8 to 3.12.

.. image:: example-ean13.png :target: https://github.com/WhyNotHugo/python-barcode :alt: python-barcode

Documentation

Full documentation is published at http://python-barcode.rtfd.io/

You can build the documentation locally using make -C docs html.

Licence

python-barcode is licensed under the MIT licence. See LICENCE for details.