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
uv
version:0.5.7
- Download at: link.
- 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
make venv
oruv env
into the terminal. - Use the
make run
command.
- Any modules should be added via the
uv add [module]
command.- Example:
uv add pre-commit
- Example:
make
: Runscreate-requirements
andlint
, respectively.make create-requirements
: Runs thePoetry
command that creates an up-to-daterequirements.txt
file.make env
: Creates or activates auv
virtual environment.make lint
: Runspre-commit
and creates therequirements.txt
file.make run
: Starts theFastAPI
application.