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.15.tar.gz (7.6 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.15-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreportgen-0.1.15.tar.gz
  • Upload date:
  • Size: 7.6 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.15.tar.gz
Algorithm Hash digest
SHA256 284f43417df44b0605c2fe18647471d8b64db4ffc1f2122cd5e899ee9f25d566
MD5 d4804cdc00d2cd9bdaed1755df8e2bbe
BLAKE2b-256 e1f18d493aba3ca29c4bc9574ddb41a659c26b1b2b671dbfa50e2753aecaa22d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreportgen-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 5549c8bbfec9b9dc740a263e6ec216cffe757db0dd23a50d5a2f3567752e13fb
MD5 cd66ec6b0e7c898181f3b758690a0ee5
BLAKE2b-256 14780b42e078fad6d2c7ac218a6797a90bb55a483756acaf2c310deccfa0e436

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