Skip to main content

BakePy Reporting Library

Project description

BakePy

Create good-looking documents programatically and easily

BakePy was conceived as an way to create good-looking documents in Python without messing with templates or difficult layout systems.

Creating a BakePy Report is simple:

import pandas as pd 

from bakepy import Report

r = Report()

r.add("Hello!")

#Adding a DataFrame in a new line.

data = {
  "cost": [420, 380, 390],
  "speed": [50, 40, 45]
}
df = pd.DataFrame(data)

r.add(df, caption = "This is a table")

#Adding a plot on the same line.

r.add(df.plot(x="cost", y="speed"), caption = "This is a figure")

#Saving the report

r.save_html("example_report.html")

Simple to use, easy to hack

BakePy is designed to automatically transform Python objects such as Matplotlib Figures and Pandas DataFrames into HTML code. By using Bootstrap 5's grid you can easily arrange markup, mathematical formulas, plots and tables without needing boilerplate code.

If you need more customization, you can easily add CSS stylesheets in order to make the Report look exactly how you want it to.

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

bakepy-0.0.3.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

bakepy-0.0.3-py2.py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 2 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