Skip to main content

Quickly create HTML reports using a set of JINJA templates

Project description

https://travis-ci.org/cokelaer/reports.svg?branch=master https://coveralls.io/repos/github/cokelaer/reports/badge.svg?branch=master Documentation Status
Python version:Python 2.7, 3.4 and 3.5
Online documentation:
 On readthedocs
Issues and bug reports:
 On github

This is a simple package to easily build HTML reports using JINJA templating.

Installation

pip install reports

Example

Here is a simple example that creates an empty report based on the generic templates provided:

from reports import Report
r = Report()
r.create_report(onweb=True)

The next step is for you to copy the templates in a new directory, edit them and fill the jinja attribute to fulfil your needs:

from report import Report
r = Report("myreport_templates")

r.jinja["section1"] = "<h1></h1>"

r.create_report()

See Sphinx documentation for more details

Release history Release notifications

This version
History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1.1

History Node

0.1.1

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
reports-0.3.1.tar.gz (146.6 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page