Skip to main content

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. See the example.py file for some working examples.

# 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.

Metadata

Release files for gilfoyle 0.915

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gilfoyle 0.915
File Size Uploaded
gilfoyle-0.915.tar.gz 100.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gilfoyle 0.915
File Interpreter ABI Platform
gilfoyle-0.915-py3-none-any.whl Python 3 none any Details

Total release size: 199.8 kB

Release files / gilfoyle-0.915.tar.gz

Download URL gilfoyle-0.915.tar.gz
Size 100.1 kB
Tags Source
SHA-256 checksum
How to use checksums
baf949248d6f38544d67cde7289b95872c4954f4b868a992821d1c35a0d1f6b4
BLAKE2b-256 checksum
How to use checksums
85206dc5028c63a3db778c4a09473cedab089eb8bffe6745feb8a0bf21cb3540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.10

Release files / gilfoyle-0.915-py3-none-any.whl

Download URL gilfoyle-0.915-py3-none-any.whl
Size 99.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10ca7c29e375926e04138b3f9bbff23853e57046d2237a3aa78c9461e4e334e5
BLAKE2b-256 checksum
How to use checksums
31456832f455573c92e652036a9bb2ddb833e58d60d5bbb9f784f022ecdac896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.915 This release

2 release files

0.914

2 release files

0.913

2 release files

0.910

2 release files

0.909

2 release files

0.908

2 release files

0.907

2 release files

0.904

2 release files

0.903

2 release files

0.902

2 release files

0.93

2 release files

0.92

2 release files

0.90

2 release files

0.89

2 release files

0.88

2 release files

0.85

2 release files

0.84

2 release files

0.83

2 release files

0.82

2 release files

0.81

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page