A package for creating reports and other pdf documents.
Project description
Pyreportgen
This is a pyton library for creating reports and other content in the form of a pdf using python.
Requirements.
wkhtmltopdf
Example
import pyreportgen as rg
import pyreportgen.layout as layout
report = rg.Report([
rg.Header("Hello World"),
rg.Text("This is a sample of how to use pyreportgen"),
Layout.HBox([
rg.Text("This is a paragraph in a box."),
rg.Text("These will be placed next to each other"),
rg.Text("All the boxes will have equal space regardless of content.")
])
])
report.pdf("out.pdf")
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
pyreportgen-0.1.8.tar.gz
(7.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyreportgen-0.1.8.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.8.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4a2cedbb06a55e107536e1c1f208e42b65a62cd9c51d8c531ab511caee2520
|
|
| MD5 |
97a9cd7d9662e90d7dbf5f2f00e3aa77
|
|
| BLAKE2b-256 |
415541b9cd919542a8ee1bb643dec77e70a54ffd1c27ce4666366c30c482c88c
|
File details
Details for the file pyreportgen-0.1.8-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.8-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9654a11f63bd5a7bb5d802ce475bd59eef25c2b195e12f6a505d08d1b47bd68a
|
|
| MD5 |
f9d80cf090742388e5ed529a9bd3b6b7
|
|
| BLAKE2b-256 |
e745a1a47046ce86420fd62030904f38a97d95dd4e7af85ea02be785c6a41e32
|