This repository can be used as a template for a Python application.
This repository is managed using the uv Python project manager: https://docs.astral.sh/uv/
To install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh # Linux/Mac
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # WindowsInstall the required dependencies using uv:
uv sync
To install with dev dependencies:
uv sync --extra dev
After installing dev dependencies, set up pre-commit hooks:
uv run pre-commit install
- Run all pre-commit checks:
uv run pre-commit run --all-files - Lint code:
uv run ruff check . - Format code:
uv run ruff format . - Type check:
uv run mypy . - Run tests:
uv run pytest - Security scan:
uv run bandit -r example/ - Audit dependencies:
uv run pip-audit
This project is licensed under the MIT License - see the LICENSE file for details.