A Cookiecutter template for Python automation projects.
uvx cookiecutter gh:karthicraghupathi/cookiecutter-rapyd-automationYou'll be prompted for project name, slug, description, Python version, author, email, and license. The post-generation hook then bootstraps the new project: git init, uv sync, pre-commit install, and a one-shot pre-commit run --all-files.
A new project pre-configured with:
- uv for dependency management (single source of truth:
pyproject.toml). - ruff for lint + format (replaces black + isort + flake8).
- pre-commit wired up with ruff hooks, standard hygiene hooks, and
uv-lock/uv-exportso committedrequirements.txtandrequirements-dev.txtstay synced withuv.lock. - environs-based settings module with logging configured for stdout/stderr split.
src/<slug>/package layout — runnable asuv run python -m <slug>.- A
tests/directory with one passing smoke test. - A
Makefilewithlint,format,test,runtargets. - An
AGENTS.mdso AI coding agents understand the conventions.
After generation, you can tune anything: ruff rules in pyproject.toml, pre-commit hooks in .pre-commit-config.yaml, dependencies via uv add / uv add --dev. The template is a starting point, not a contract.
See CONTRIBUTING.md.
MIT — see LICENSE.