A simple weather API built with FastAPI. This API provides random weather data based on latitude and longitude coordinates. The implementation is found in app/app.py.
To set up the pre-commit hooks, run pre-commit install in the repo. After it you can
manually run pre-commit only for your changes or pre-commit run --all-files for all
files.
To install dependencies, first set up your environment with Poetry:
# Using Poetry
poetry installTo run the app locally, execute the following command:
poetry run devMake sure Docker is installed.
docker build -t data-source-guide-example .
docker run -p 8000:8000 --rm -it data-source-guide-exampleThis code is released under the BSD 3-Clause license. Details in the LICENSE.md file.
Written guide for how to build a data source
You can also check out our YouTube tutorial:
Also join our IOXIO Community Slack
