https://github.com/idatsy/python-base-uv
Python project template with default config and CI for uv
https://github.com/idatsy/python-base-uv
Last synced: 29 days ago
JSON representation
Python project template with default config and CI for uv
- Host: GitHub
- URL: https://github.com/idatsy/python-base-uv
- Owner: idatsy
- Created: 2025-07-27T10:55:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-12-08T13:40:42.000Z (4 months ago)
- Last Synced: 2026-01-21T00:02:44.495Z (2 months ago)
- Language: Makefile
- Size: 35.2 KB
- Stars: 8
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `uv` Python Template
Modern Python project template using [uv](https://docs.astral.sh/uv/) for easy dependency management.
Alternative using `poetry` found [here](https://github.com/idatsy/python-base).
## Features
* `pytest` with `pytest-asyncio` and `pytest-watcher` for TDD
* `loguru` for logging
* `ruff` and `pyright` for linting, formatting, and type checking (with strict defaults!)
* GitHub Actions CI
## Usage
- Clone the repo
- Find/replace `python-base-uv` with your project name
- Or ask copilot to change all template references as the initial commit!
**Makefile**
- `make sync` to update dependencies.
- `make check` before committing (runs ruff and pyright)
- `make test` to run tests.
- `make watch` for TDD mode (auto-run tests on save).
- `make help` for all commands.
> Prefix files with `wip_` to skip linting.