/bfi_report_deliverer

A Python program to parse and format weekly data from the British Film Institute

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

bfi_report_deliverer

A Python program to generate and deliver weekly reports about UK cinema

bfi_report_deliverer

Installation

Clone the repository

git clone https://github.com/rua-iri/bfi_report_deliverer

cd bfi_report_deliverer

Create virtual environment and install requirements

python3 -m venv .venv

source .venv/bin/activate

pip3 install -r requirements.txt

sudo apt install wkhtmltopdf

Create .env file with the following variables

touch .env
ENV=staging

RESEND_API_KEY=<API_KEY>

FROM_EMAIL=<EMAIL_ADDRESS>

TMBD_API_KEY=<API_KEY>

Run Setup

make setup

Run program

python3 main.py

Run tests

make test

Examples

image

image