caprice

Robust Python library for generating PDF


Keywords
pdf, pdf-creator, pdf-creator-api, pdf-generation, python, python3
License
GPL-2.0
Install
pip install caprice==0.1.1

Documentation

Run Tests

Caprice

Caprice is a robust Python library for generating PDF.

Notes

Caprice is in development, and can not be used in any purpose yet. But It's in rapidly development, just keep watching this repo, you will get surprises.

Usage

from caprice.document import Document

doc = Document()
page = doc.add_page()
page.draw_text(0, 0, "Hello Caprice!")
doc.save("hello.pdf")

How to run unit tests

python -m unittest

Author

Aaron Elkins (https://rkt.pixelegg.me)