An opinionated thin wrapper around the ReportLab Toolkit.
Project description
PDFINO
Basic usage
from pdfino import Document
pdf = Document()
pdf.h1("This is a heading")
pdf.p("Hello world!", align="center", classes=["mb-md"])
pdf.p("This is a paragraph.", classes=["mb-md"])
pdf.p("This is another paragraph.", classes=["mb-md"])
pdf.get_django_response("hello.pdf")
Run the tests
poetry run pytest --cov=pdfino --cov-report=term
Style guide
Tab size is 4 spaces. Max line length is 120. You should run ruff
before committing any change.
poetry run ruff format . && poetry run ruff check pdfino
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdfino-0.0.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
pdfino-0.0.1-py3-none-any.whl
(3.7 kB
view hashes)