An opinionated Cookiecutter template for modern Python 3.12+ projects, built with Rust-based developer tooling, autonomous AI agent workflows, and automated quality guardrails.
Starting a new Python project usually means spending days wiring up linters, formatters, type checkers, test coverage, and documentation generators—or copying decaying configs from older repos and fixing whatever broke.
Zenith scaffolds a production-ready repository in seconds:
- ⚡ Modern Rust-Based Tooling: Fast package management with
uv, linting and formatting withruff, strict type checking with Meta'spyrefly, modular boundaries withtach, cognitive complexity limits withcomplexipy, and documentation withzensical. - 🤖 First-Class AI Agent Readiness: Autonomous agent context discovery
(
AGENTS.md), modular lifecycle skills in.agents/skills/, machine-readablellms.txt, and clear AI governance policies. - 🛡️ Strict Quality Guardrails: 100% statement and branch test coverage
(
fail_under = 100), strict typing, and automated CI security analysis withzizmor. - 🚀 Hermetic Delivery & CI/CD: Matrix testing across Python 3.12–3.15, isolated wheel package smoke tests, and automated PyPI Trusted Publishing.
Note
Project Scope: Zenith is built for serious production packages, services, and libraries intended for long-term maintenance by teams of humans and AI agents. It is deliberately not suited for small two-script throwaway hacks where strict guardrails feel like friction.
For full guides, detailed architectural deep-dives, and tool configurations, visit the Zenith Documentation Website.
- First Steps & Core Concepts: Plain-English onboarding for developers new to modern Python tooling.
- Philosophy & Sizing: Modern tooling, AI readiness, quality guardrails, and project sizing rubric.
- CLI Architecture: Typer CLI structure, Rich terminal rendering, and animated Termynal demos.
- Tooling Stack Reference: In-depth explanations, configuration breakdowns, and upstream links for the integrated tool stack.
- Agent Skills Architecture: Lifecycle
workflows for autonomous coding assistants in
.agents/skills/. - CI/CD Pipelines: GitHub Actions test matrix across Python 3.12–3.15, wheel smoke testing, and supply-chain protection.
- Changelog: Release history and version notes.
Scaffold a new project in seconds using uvx:
uvx cookiecutter https://github.com/bwrob/zenith.gitOr using a local cookiecutter install:
cookiecutter gh:bwrob/zenithcd my-awesome-service
uv sync
uv run poe test # Runs test suite (100% coverage enforced)
uv run poe code-quality # Runs full linter, formatter, type, and complexity gate
uv run poe docs-serve # Starts live-reloading documentation serverEvery workflow in Zenith is codified through Poe the Poet (uv run poe <task>):
| Task | What it does |
|---|---|
uv run poe test |
Runs pytest suite enforcing 100% statement and branch coverage |
uv run poe test-fast |
Runs tests in parallel across CPU cores with pytest-xdist |
uv run poe code-quality |
Complete quality check: lint, format, TOML/YAML/CSS, types, complexity, boundaries |
uv run poe fix |
Auto-fixes lint violations, formatting, markdown, and typos |
uv run poe docs-serve |
Starts local Zensical live-reloading documentation dev server |
uv run poe docs-build |
Builds production static HTML documentation site into site/ with strict checks |
Distributed under the MIT License.