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 uvversion:0.5.7- Download at: link.
- Google Cloud Platform service account with location of the
service_account.jsonfile 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 venvoruv envinto the terminal. - Use the
make runcommand.
- Any modules should be added via the
uv add [module]command.- Example:
uv add pre-commit
- Example:
make: Runscreate-requirementsandlint, respectively.make create-requirements: Runs thePoetrycommand that creates an up-to-daterequirements.txtfile.make env: Creates or activates auvvirtual environment.make lint: Runspre-commitand creates therequirements.txtfile.make run: Starts theFastAPIapplication.