㊙️ python-barcode


python-barcode is a pure-python library for generating barcodes in various formats. It’s 100% pure python.

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


If you think you found a bug, or need help with something specific:

  • Please check existing issues for similar topics.
  • If there’s nothing relevant, please open a new issue describing your problem, and what you’ve tried so far.

Issues and source code are all in GitHub.


Donations are welcome. See here for further details.


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