alle opties
trixie  ] [  sid  ]
[ Bron: pylabels  ]

Pakket: python3-pylabels (1.2.1+repack-3)

Verwijzigingen voor python3-pylabels

Screenshot

Debian bronnen:

Het bronpakket pylabels downloaden:

Beheerder:

Externe bronnen:

Vergelijkbare pakketten:

python library for creating PDFs to print sheets of labels

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.

Andere aan python3-pylabels gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

python3-pylabels downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 12,9 kB69,0 kB [overzicht]