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
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
repgen-0.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
repgen-0.0.2-py3-none-any.whl
(3.6 kB
view hashes)