A Git activity insights utility
This project is licensed under the MIT License. See the LICENSE file for details.
- Python 3.13+
- uv (recommended) or pip
Using uv:
- Install uv: https://docs.astral.sh/uv/
- Create and sync the environment:
- uv sync --managed-python --all-groups
- Run the API:
- uv run python -m src.main
Using pip:
- python -m venv .venv && source .venv/bin/activate
- pip install -e .
- python -m src.main
The server starts on http://127.0.0.1:1506.
- Swagger UI: /api/ref (enabled: True)
- src/ Python package with application code
- src/api FastAPI routers and endpoints
- src/db SQLModel models and DB utilities (DuckDB by default)
- src/services Service layer
- Ruff and dprint are configured. If you use uv, you can run:
- uv run ruff check
- dprint check
- Defaults are baked into src/server.py via APIServerConfig. You can also call APIServerConfig.from_yaml to load settings from a YAML file with environment interpolation.