Skip to main content

Gilfoyle is a Python-based report generator for data scientists who use Pandas.

Project description

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

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

gilfoyle_forked-1.2.0.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gilfoyle_forked-1.2.0-py3-none-any.whl (100.0 kB view details)

Uploaded Python 3

File details

Details for the file gilfoyle_forked-1.2.0.tar.gz.

File metadata

  • Download URL: gilfoyle_forked-1.2.0.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for gilfoyle_forked-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6bf95dba7f37c8bb229d440d55dae66208b79e26acbf4d5ca4432eaa3b66faa5
MD5 b9149ba66b1fed40274da26bc98e9ead
BLAKE2b-256 8d0a847d2d0acdedba48e3f552aa52f0d13889f5eb52c6d60ff1195e75cbedeb

See more details on using hashes here.

File details

Details for the file gilfoyle_forked-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: gilfoyle_forked-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 100.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for gilfoyle_forked-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5defb5750aade6e049fa9de273a5e1eeb57abd6903f645894d59b7962b66e35d
MD5 1e3577736505c9740a10c35b9e864b02
BLAKE2b-256 7fcae2238c17fd9786c0e23d90709823924452a7d7ed789385ee2e45928a3c29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page