API providing external access to Quartz forecast data.
The application is configured via the use of environment variables.
See src/quartz_api/cmd/server.conf for the full specification of available environmental
configuration.
Run the latest image from GitHub container registry:
$ docker run
-p 8000:8000 \
-e <ENV_KEY>=<ENV_VALUE> \
ghcr.io/openclimatefix/quartz-api:latestClone the repository. Install all the dependencies with
$ uv sync
To run the API locally, use the command
$ uv run quartz-api
The API should then be accessible at http://localhost:8000, and the docs at
http://localhost:8000/docs (or whatever port you have configured).
Make sure that you have install the development dependencies (uv sync will do this for you).
Then run the tests using
uv run pytest
There may be some issues when installing this with windows.
Thanks goes to these wonderful people (emoji key):
Rahul Maurya 💻 |
Dubraska Solórzano 💻 |
Nicholas Tucker 💻 |
devsjc 💻 |
Suvan Banerjee 💻 |
Anas Khan 🚇 |
Edwardcg17 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!