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.9.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.9.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.9.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 |
68f1c805fe5b10d7e583d3895f3615d3b4c7dca00da853b699cefa32950b3858
|
|
| MD5 |
7289f0c7fcb6ba65c5d646b8fe1f6a3d
|
|
| BLAKE2b-256 |
5d4eddffa816b5cbe5a6ed8d4de11b441ba3e7568fc7b0df8d026a875f979b11
|
File details
Details for the file pyreportgen-0.1.9-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.9-py3-none-any.whl
- Upload date:
- Size: 9.3 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 |
e3edac06cf618ba1ffb84c8beb25b5b2973faf529ce98868dd7ef931394643ad
|
|
| MD5 |
770fc1ef44037ea63a335e310c0c188d
|
|
| BLAKE2b-256 |
efd75896cd26df304e79cc832f9c25b8016a98390b66f0cee0da1fd5a7195415
|