This application makes use of scraped incidents from the UCPD Daily Incident Reports and displays them in a handful of ways.
- UChicago Police Department Incident Reporter: Link
- The Maroon Launches UChicago Police Department Incident Reporter: Link
- Python version:
^3.11
- Poetry
- Google Cloud Platform service account with location of the
service_account.json
file stored in the environment variable:GOOGLE_APPLICATION_CREDENTIALS
- Google Cloud Platform project ID stored in the environment variable:
GOOGLE_CLOUD_PROJECT
- Go into the base directory of the repository and type
poetry shell
into the terminal. - Use the
make run
command.
- Any modules should be added via the
poetry add [module]
command.- Example:
poetry add black
- Example:
make
: Runscreate-requirements
andlint
, respectively.make create-requirements
: Runs thePoetry
command that creates an up-to-daterequirements.txt
file.make lint
: Runspre-commit
and creates therequirements.txt
file.make run
: Starts theFastAPI
application.