{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Generates barcodes and QR codes as image objects by wrapping the BWIPP library and Ghostscript, supporting QR codes, Aztec, PDF417, Code128, Code39, and many other barcode types.","skillfed_tags":["barcode-generation","qr-code","image-rendering"],"use_cases":["Generate QR codes for URLs or contact information in web applications or documents.","Create product barcodes (Code128, Code39) for inventory or point-of-sale systems.","Batch-generate multiple barcode types with different error-correction levels or options.","Embed barcodes in reports or documents by saving generated images to files.","Build command-line tools to generate barcodes from the shell without writing Python code."],"what_it_does":"Treepoem is a Python barcode renderer that wraps the BWIPP (Barcode Writer in Pure PostScript) library and the Ghostscript command-line tool to generate barcode images. It returns barcodes as image objects, making them easy to manipulate or save. The package supports approximately 100 barcode types including QR codes, Aztec codes, PDF417, Code128, Code39, and Interleaved 2 of 5, each configurable via BWIPP options.\n\nThe package is designed for developers who need to generate barcodes programmatically in Python applications. It provides both a Python API (the `generate_barcode()` function) and a command-line interface. The main constraint is that Ghostscript must be installed separately on your system; the package itself has only one runtime dependency (pillow) and supports Python 3.9 to 3.14. There is a known rendering issue with certain Ghostscript versions (9.22+), though Ghostscript 9.26 and later generally work.","worth_installing":"Yes, if you need to generate barcodes in Python and can install Ghostscript on your system. The package is actively maintained, has low Python-level install friction, and supports a wide range of barcode types. The main gotcha is the external Ghostscript dependency and known rendering quirks with older Ghostscript versions\u2014verify compatibility with your target Ghostscript version before deploying."},"id":"treepoem","links":{"html":"https://skillfed.io/packages/treepoem","md":"https://skillfed.io/packages/treepoem.md","pypi":"https://pypi.org/project/treepoem/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-09","license_spdx":"MIT","license_treatment":"permissive","name":"treepoem","python_support":"supports_current","summary":"Barcode rendering for Python supporting QRcode, Aztec, PDF417, I25, Code128, Code39 and many more types."},"popularity":{"monthly_downloads":1103710,"position":4366,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.28.0"}
