Skip to main content

A simple python REPort GENeration library

Project description


title: repgen: A Simple Python Report Generation Library author: Libor Wagner libor.wagner@cvut.cz date: 2018-11-22

repgen: A Simple Python Report Generation Library

Installation

Requirements:

Optional, needed to run the example:

Unstall using pip:

$ pip install https://github.com/liborw/repgen.git

Usage

  • The following example will produce the ultimate answer in about 7.5 milion years, but also shows the simples usage of this library.
import time
from repgen import generate

"""!
What is the answer to life the universe and everything? {{ the_answer }}
"""

time.sleep(7.5e+6*3.154e+7)

data = dict()
data['the_answer'] = 7*6

print(generate(data=data))
  • For more examples see the examples directory.

Similar tools

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

repgen-0.0.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

repgen-0.0.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

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