Skip to content

orklann/caprice

Repository files navigation

PyPI version 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.

How to install

pip install caprice

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

make test

Author

Tommy Jeff (https://rkt.pixelegg.me)

License

Please see LICENSE for licensing details.