A simple API server for ARSO and DWD weather data.
Vremenar API is python-based, with Python 3.11 as the minimum supported version.
This project uses PDM to track dependencies. For basic setup run
pdm sync
Gunicorn is recommended and tested in production workflows. An example command is:
pdm run start
It is recommended to run the API behind a caching server such
as varnish
as none of the requests are cached by default.
Uvicorn can be used directly for development:
pdm run dev
This project uses pre-commit
. To setup, run
pre-commit install
To check all files run
pre-commit run --all
Copyright (C) 2020-2023 Tadej Novak
This project may be used under the terms of the GNU Affero General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE.