Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Module to create static html reports

Project description

HTML Reports

Module for creating html reports based on jinja2 templates.

Usage

First you should create a report. Then you can add content to it. When you have all the content you can render it in a file with the write_report function.

For example:

from reports import Report

report = Report()

rep.add_title("title1")
rep.add_title("title1.1", level=2)
rep.add_markdown("Some text")

rep.write_report()

This will create the report.html file using the templates/simple.html template.

Installation

pip install -r requirements.txt

Authors

License

The content of this repository is licensed under a MIT.

Nomenclature

Branches and commits use some prefixes to keep everything better organized.

Branches

  • f/: features
  • r/: releases
  • h/: hotfixs

Commits

  • [NEW] new features
  • [FIX] fixes
  • [REF] refactors
  • [PYL] pylint improvements
  • [TST] tests

Project details


Release history Release notifications

Download files

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

Files for html-reports, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size html_reports-0.1.0-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size html-reports-0.1.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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