- Python 3.11 or newer
uv
uv syncTo sync development dependencies run following command:
uv sync --group devuv run run.py nix developpython run.pydocker build -t seriousdb .
docker run -p 8000:8000 seriousdbThe server is available at http://127.0.0.1:8000 and its interactive API documentation is at /docs.
The readiness endpoint is available at /health.
Format Python files with ruff:
uv run ruff format .To check formatting without changing files:
uv run ruff format --check .ruff format .Lint python files with ruff:
uv run ruff check .ruff check .To fix linter errors and warning if possible run following command:
uv run ruff check --fix .ruff check --fix .