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.0.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.0.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.0.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 |
2c5e06588998493ebe960c60508100eec59936098d005c15e3f6657c3d95a103
|
|
| MD5 |
12c31d775545299b9ce526683a37af5e
|
|
| BLAKE2b-256 |
b3e010eed033aa8bcae3a5a9e184b29547e2af51d5dde8fba787b57a83c9bdbd
|
File details
Details for the file pyreportgen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 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 |
14253f6394599b12202a13170a1b0e7c23576f9bd96698a3bb755c76743b5e51
|
|
| MD5 |
4d8897ad55933eaa6c530b8adee6093a
|
|
| BLAKE2b-256 |
41dbb94366830d1d0af6e27b50304e35f0f25206c8fcea73d9411adbb4fad5e5
|