Skip to content

CityOfPhiladelphia/oit_api_wrapper

Repository files navigation

OIT API Wrapper

Author: James Midkiff

Read the API docs at <api_endpoint>/docs

For local development and testing, copy env.example to .env and populate it. Then run export $(grep -v '^#' .env | xargs) to export them as environment variables so the python program can access it.

Running the API locally:

uv run fastapi --env-file=.env fastapi dev

To run in a docker container, make sure your .env file is setup then run:

docker-compose up --build -d

Testing:

uv run --env-file=.env pytest --maxfail=4 --tb=short -v

About

API Wrapper for Accessing APIs such as Carto and AGO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors