Gilfoyle
Gilfoyle is a report generation tool for Python which makes it quick and easy to create stylish looking reports or presentations using data.
Installation
You can install Gilfoyle by entering pip3 install gilfoyle in your terminal.
Usage
Gilfoyle can be used within a regular Python script or from inside a Jupyter notebook.
# Load packages
import pandas as pd
from gilfoyle import report
# Define output filename
pdf = report.Report(output='example.pdf')
# Set report title
pdf.set_title('Monthly ecommerce report')
# Create payload
payload = pdf.get_payload()
# Add a cover slide
payload = pdf.add_page(payload,
page_type='cover',
page_title='Monthly report',
page_subheading='Matt Clarke')
# Fetch your data
df = pd.read_csv('data.csv',
skiprows=1,
names=['Period', 'Entrances', 'Sessions', 'Pageviews',
'Transactions', 'Conversion Rate', 'AOV']).head(13)
payload = pdf.add_page(payload,
page_type='report',
page_layout='simple',
page_title='Organic search',
page_dataframe=df
)
# Save to PDF
pdf.create_report(payload, verbose=True, output='pdf')
Dependencies
Gilfoyle is written in Python 3 and uses the Jinja 2 templating engine, the Bulma HTML and CSS framework, and the Weasyprint PDF generator package. Gilfoyle is compatible with Pandas and can automatically turn your dataframes into tables.
Release files for gilfoyle 0.908
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gilfoyle-0.908.tar.gz | 97.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gilfoyle-0.908-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 195.9 kB
Release files / gilfoyle-0.908.tar.gz
| Download URL | gilfoyle-0.908.tar.gz |
|---|---|
| Size | 97.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7033e4e7643533dae9ec6589dfbfd1d1957265561783a5ec3023ce763f2568c
|
|
BLAKE2b-256 checksum How to use checksums |
74ebd2380a6fa321ef82578f2073cffa454dd4ce0c79a4fb08ee8629366eb9ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.5
|
Release files / gilfoyle-0.908-py3-none-any.whl
| Download URL | gilfoyle-0.908-py3-none-any.whl |
|---|---|
| Size | 98.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2827339eda8f6e1c48daabeeef633032ef52ea382b99d6392790cba113bd85f
|
|
BLAKE2b-256 checksum How to use checksums |
48d76dfdad0771bee8fa05a292b1e3b4ef9dadfef64171becb0f20c87bf9d677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.5
|