Paper is a Python PDF writing package. A simpler, easier way to create PDF's. Still a work in progress.
Example API Usage
The following API was development following this principle. At the moment the following example doesn't fully work.
from paper import Document, Image, styles
paper = Document()
pdf("Hello World", styles=[styles.H1, ])
# Text by default is treated as paragraph text. pdf("Python PDF is an effort to make writing PDF's much cleaner, simpler and easier.")
# Lists are by default show up as bullets, but we want a numbered list here. pdf(["Item 1", "Item 2", "Item 3"], styles=[styles.NUMBEREDLIST])
# Add an image on the right and have text wrap around it. pdf(Image("/path/to/file"), styles=[styles.WRAP, styles.RIGHTALIGN])
pdf("This text will wrap around the image.")