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.11.tar.gz
(8.4 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.11.tar.gz.
File metadata
- Download URL: pyreportgen-0.1.11.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a30f4d301a2d6f24096eb32fb6e8932d4b8fef0d05de351524cb9dbe0bf415c
|
|
| MD5 |
54d8613bf31033a0bbe4fa3c29f207d9
|
|
| BLAKE2b-256 |
8daf61c17f881f5c066829b791210806cae2ae8f73721476be0366df47034f54
|
File details
Details for the file pyreportgen-0.1.11-py3-none-any.whl.
File metadata
- Download URL: pyreportgen-0.1.11-py3-none-any.whl
- Upload date:
- Size: 9.6 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 |
67b09b80bc2e58b631ded961654273c713346e3694440ffd4fac8496ed5ec233
|
|
| MD5 |
03885da20c17aabb681a140d2ffe734d
|
|
| BLAKE2b-256 |
12c733f391db59243042a1ef8dffe16d5ab6f8c9d0cba15adae57ad39bdeb30c
|