python3-pylabels

python library for creating PDFs to print sheets of labels

Description

pylabels uses the ReportLab PDF toolkit to produce the PDF.

Basically, the user creates a set of specifications of the label sizes etc, writes a callback function which does the actual drawing, and gives these two items to a Sheet object. Items are then added to the sheet using the add_label() method (or add_labels() to add all items from an iterable).

The callback function is called once for each item, being given a ReportLab Drawing object representing the label, its width and height, and the item to draw on the label. Any of the standard ReportLab drawing methods can be used, with pylabels automatically adding a clipping path around each label to prevent it interfering with other labels.

Once all the items have been added, the labels can be saved as a PDF, or a preview of a page can be saved as an image.

This package installs the library for Python 3.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/bcbnz/pylabels/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-pylabels