Skip to main content

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


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.13.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyreportgen-0.1.13-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file pyreportgen-0.1.13.tar.gz.

File metadata

  • Download URL: pyreportgen-0.1.13.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

Hashes for pyreportgen-0.1.13.tar.gz
Algorithm Hash digest
SHA256 a35925979ac5d994384de571d86e6be0bd7373b67cba88b807da509d8b18f545
MD5 a963281f34c332fc9f37260ee9bbbe09
BLAKE2b-256 318f15cc69759cc6cecd3cb7aa0d35144800c1e740b34802474a2fe88a4dc8e2

See more details on using hashes here.

File details

Details for the file pyreportgen-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: pyreportgen-0.1.13-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

Hashes for pyreportgen-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 edaefe7fe39dbd3a3d1df45769b5ad9c984d5951ba188652a9a1d7b062ed2a6e
MD5 5f95cc3b369793d4af5f47aa8ef84c3b
BLAKE2b-256 fad348841f5e5b272495997ceea7c6a48a5369a65c633accd2c1f379eeb7219f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page