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.10.tar.gz
(8.1 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.10.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.10.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01040d201605de30daf0bfdba5c8dfe9da5dc6fa40bcdbb23bf8a81e0fc36ae3
|
|
| MD5 |
0ecae4c8510c2beca329d893ad405268
|
|
| BLAKE2b-256 |
34b0c76fcfab545e1ec66cf0d31f2f5158fef7710132bd3ab14f94ee3db97250
|
File details
Details for the file pyreportgen-0.1.10-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.10-py3-none-any.whl
- Upload date:
- Size: 9.4 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 |
e4dcdce608b97decf33b6bea9beed544ec6930192088e002a93f9f95f6ee5770
|
|
| MD5 |
fc7cb5052608cd46d5b1d4c93b9e176a
|
|
| BLAKE2b-256 |
6f086607940a6ea379ffac0e24432e73651064b667446bb744d47b380877435e
|