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.16.tar.gz
(7.6 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.16.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.16.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
863c9a7ae3e18d3504b7ee15d1e9dde8511e6c2b2e08382bc51becc613bb5b51
|
|
| MD5 |
93dd12168226253b1b5f17ffd3835bd3
|
|
| BLAKE2b-256 |
b56c3c2c0f3c85b33fc11be26cf16a10ad9f5e682cf38200f1050b98b85246c9
|
File details
Details for the file pyreportgen-0.1.16-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.16-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b01aef96fe9abecdf1e14917878b29a4f664a259ef7f7d4469ad450742414f81
|
|
| MD5 |
38054b673b27426cf7438a40009a95fb
|
|
| BLAKE2b-256 |
2af4b19c83dcfa89d01fa93a17166f22f22a13f5bf2411a51988796a91a2b83b
|