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.1.tar.gz
(4.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.1.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
232d09909c3f7428cfc775dc119abbd0b5ebe99209fe7b6d3d30af8eb6d5e60a
|
|
| MD5 |
f3df4a4d47032b0e8fc7c548f4e55ef7
|
|
| BLAKE2b-256 |
e3c9234cb9fcffca887917e259825ca688ce67c46e13f8ce1519ee89ca7a0091
|
File details
Details for the file pyreportgen-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1cfa9c5711e9c4b0aa0d7dce3f8a6ab8396e92a61874cee5831cc4e442f284f
|
|
| MD5 |
0088c3566fdc72e3bc522977a62abfbd
|
|
| BLAKE2b-256 |
2cfe1939d1ebe39537ae9c7709ef4df695df6fc8243b78fb59e6cfd4c5b14084
|