{"id":47765008,"url":"https://github.com/nullhack/python-project-template","last_synced_at":"2026-04-18T13:06:11.655Z","repository":{"id":208484967,"uuid":"478989740","full_name":"nullhack/python-project-template","owner":"nullhack","description":"A great project template using uv, taskipy, pdoc, code coverage, pytest and much more!","archived":false,"fork":false,"pushed_at":"2026-04-15T07:02:45.000Z","size":846,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-15T08:30:59.179Z","etag":null,"topics":["ai","hypermodern","hypothesis","mutmut","opencode","pdoc","productivity","project-template","pyright","pytest","python","python-project-template","python3","taskipy","template","uv","vibe-coding"],"latest_commit_sha":null,"homepage":"https://nullhack.github.io/python-project-template/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nullhack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2022-04-07T13:08:03.000Z","updated_at":"2026-04-15T07:01:24.000Z","dependencies_parsed_at":"2023-11-30T18:01:58.392Z","dependency_job_id":"5c2dca13-09a0-4d88-91ce-28cef60e00db","html_url":"https://github.com/nullhack/python-project-template","commit_stats":null,"previous_names":["nullhack/python-project-template"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/nullhack/python-project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullhack%2Fpython-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullhack%2Fpython-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullhack%2Fpython-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullhack%2Fpython-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullhack","download_url":"https://codeload.github.com/nullhack/python-project-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullhack%2Fpython-project-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","hypermodern","hypothesis","mutmut","opencode","pdoc","productivity","project-template","pyright","pytest","python","python-project-template","python3","taskipy","template","uv","vibe-coding"],"created_at":"2026-04-03T06:05:18.867Z","updated_at":"2026-04-18T13:06:11.650Z","avatar_url":"https://github.com/nullhack.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"docs/images/banner.svg\" alt=\"Python Project Template\" width=\"100%\"/\u003e\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen?style=for-the-badge)](https://nullhack.github.io/python-project-template/coverage/)\n[![CI](https://img.shields.io/github/actions/workflow/status/nullhack/python-project-template/ci.yml?style=for-the-badge\u0026label=CI)](https://github.com/nullhack/python-project-template/actions/workflows/ci.yml)\n[![Python](https://img.shields.io/badge/python-3.13-blue?style=for-the-badge)](https://www.python.org/downloads/)\n\n**Production-ready Python scaffolding with a structured AI-agent workflow — from idea to shipped feature.**\n\n\u003c/div\u003e\n\n---\n\n## Quick Start\n\n```bash\ngit clone https://github.com/nullhack/python-project-template\ncd python-project-template\ncurl -LsSf https://astral.sh/uv/install.sh | sh  # skip if uv installed\nuv sync --all-extras\nopencode \u0026\u0026 @setup-project                        # personalise for your project\nuv run task test \u0026\u0026 uv run task lint \u0026\u0026 uv run task static-check\n```\n\n---\n\n## What You Get\n\n### A structured 5-step development cycle\n\n```\nSCOPE → ARCH → TDD LOOP → VERIFY → ACCEPT\n```\n\n| Step | Who | What |\n|------|-----|------|\n| **SCOPE** | Product Owner | Discovery interviews → Gherkin stories → `@id` criteria |\n| **ARCH** | Software Engineer | Module design, ADRs, test stubs |\n| **TDD LOOP** | Software Engineer | RED → GREEN → REFACTOR, one `@id` at a time |\n| **VERIFY** | Reviewer | Adversarial verification — default hypothesis: broken |\n| **ACCEPT** | Product Owner | Demo, validate, ship |\n\nWIP limit of 1. Features are `.feature` files that move between filesystem folders:\n\n```\ndocs/features/backlog/      ← waiting\ndocs/features/in-progress/  ← building (max 1)\ndocs/features/completed/    ← shipped\n```\n\n### AI agents included\n\n```\n@product-owner      — scope, stories, acceptance\n@software-engineer  — architecture, TDD, git, releases\n@reviewer           — adversarial verification\n@setup-project      — one-time project initialisation\n```\n\n### Quality tooling, pre-configured\n\n| Tool | Role |\n|------|------|\n| `uv` | Package \u0026 environment management |\n| `ruff` | Lint + format (Google docstrings) |\n| `pyright` | Static type checking — 0 errors |\n| `pytest` + `hypothesis` | Tests + property-based testing |\n| `pytest-cov` | Coverage — 100% required |\n| `pdoc` | API docs → GitHub Pages |\n| `taskipy` | Task runner |\n\n---\n\n## Commands\n\n```bash\nuv run task test          # Full suite + coverage\nuv run task test-fast     # Fast, no coverage (use during TDD loop)\nuv run task lint          # ruff check + format\nuv run task static-check  # pyright\nuv run task run           # Run the app\n```\n\n---\n\n## Code Standards\n\n| | |\n|---|---|\n| Coverage | 100% |\n| Type errors | 0 |\n| Function length | ≤ 20 lines |\n| Class length | ≤ 50 lines |\n| Max nesting | 2 levels |\n| Principles | YAGNI › KISS › DRY › SOLID › Object Calisthenics |\n\n---\n\n## Test Convention\n\n```python\n@pytest.mark.skip(reason=\"not yet implemented\")\ndef test_feature_a3f2b1c4() -\u003e None:\n    \"\"\"\n    Given: ...\n    When:  ...\n    Then:  ...\n    \"\"\"\n```\n\nEach test is traced to exactly one `@id` acceptance criterion.\n\n---\n\n## Versioning\n\n`v{major}.{minor}.{YYYYMMDD}` — each release gets a unique adjective-animal name.\n\n---\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n**Author:** [@nullhack](https://github.com/nullhack) · [Documentation](https://nullhack.github.io/python-project-template)\n\n\u003c!-- MARKDOWN LINKS --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/nullhack/python-project-template.svg?style=for-the-badge\n[contributors-url]: https://github.com/nullhack/python-project-template/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/nullhack/python-project-template.svg?style=for-the-badge\n[forks-url]: https://github.com/nullhack/python-project-template/network/members\n[stars-shield]: https://img.shields.io/github/stars/nullhack/python-project-template.svg?style=for-the-badge\n[stars-url]: https://github.com/nullhack/python-project-template/stargazers\n[issues-shield]: https://img.shields.io/github/issues/nullhack/python-project-template.svg?style=for-the-badge\n[issues-url]: https://github.com/nullhack/python-project-template/issues\n[license-shield]: https://img.shields.io/badge/license-MIT-green?style=for-the-badge\n[license-url]: https://github.com/nullhack/python-project-template/blob/main/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullhack%2Fpython-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullhack%2Fpython-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullhack%2Fpython-project-template/lists"}