pytemplate-uv 3.0.0__tar.gz → 3.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/CHANGELOG.md +100 -0
  2. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/PKG-INFO +84 -44
  3. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/README.md +78 -40
  4. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/docs/compatibility.md +16 -20
  5. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pyproject.toml +6 -4
  6. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pyproject.toml.orig +6 -4
  7. pytemplate_uv-3.2.0/pytemplate/__init__.py +12 -0
  8. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/agent_skill.py +19 -3
  9. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/api.py +3 -7
  10. pytemplate_uv-3.2.0/pytemplate/cli_options.py +217 -0
  11. pytemplate_uv-3.2.0/pytemplate/components/devcontainer.toml +12 -0
  12. pytemplate_uv-3.2.0/pytemplate/components/mcp.toml +13 -0
  13. pytemplate_uv-3.2.0/pytemplate/components/release.toml +13 -0
  14. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/configuration.py +7 -11
  15. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/errors.py +5 -1
  16. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/main.py +155 -197
  17. pytemplate_uv-3.2.0/pytemplate/packs.py +457 -0
  18. pytemplate_uv-3.2.0/pytemplate/picker.py +43 -0
  19. pytemplate_uv-3.2.0/pytemplate/post_create.py +85 -0
  20. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/profiles.py +16 -7
  21. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/rendering.py +74 -37
  22. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/resolution.py +3 -1
  23. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/schema.py +4 -1
  24. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/skills/pytemplate/SKILL.md +20 -25
  25. pytemplate_uv-3.2.0/pytemplate/status.py +137 -0
  26. pytemplate_uv-3.2.0/pytemplate/suggestions.py +18 -0
  27. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/profile.toml +2 -2
  28. pytemplate_uv-3.2.0/pytemplate/templates/fastapi/template/.devcontainer/devcontainer.json.jinja +13 -0
  29. pytemplate_uv-3.2.0/pytemplate/templates/fastapi/template/.github/dependabot.yml +16 -0
  30. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/fastapi}/template/.github/workflows/ci.yml.jinja +4 -2
  31. pytemplate_uv-3.0.0/pytemplate/templates/fastapi/template/CLAUDE.md.jinja → pytemplate_uv-3.2.0/pytemplate/templates/fastapi/template/AGENTS.md.jinja +2 -2
  32. pytemplate_uv-3.2.0/pytemplate/templates/fastapi/template/CLAUDE.md +1 -0
  33. pytemplate_uv-3.2.0/pytemplate/templates/library/profile.toml +18 -0
  34. pytemplate_uv-3.2.0/pytemplate/templates/library/template/.devcontainer/devcontainer.json.jinja +13 -0
  35. pytemplate_uv-3.2.0/pytemplate/templates/library/template/.github/dependabot.yml +16 -0
  36. {pytemplate_uv-3.0.0/pytemplate/templates/fastapi → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/.github/workflows/ci.yml.jinja +4 -2
  37. pytemplate_uv-3.2.0/pytemplate/templates/library/template/.github/workflows/release.yml.jinja +47 -0
  38. pytemplate_uv-3.2.0/pytemplate/templates/library/template/.mcp.json.jinja +8 -0
  39. pytemplate_uv-3.2.0/pytemplate/templates/library/template/AGENTS.md.jinja +55 -0
  40. pytemplate_uv-3.2.0/pytemplate/templates/library/template/CLAUDE.md +1 -0
  41. pytemplate_uv-3.2.0/pytemplate/templates/library/template/README.md.jinja +76 -0
  42. pytemplate_uv-3.2.0/pytemplate/templates/library/template/pyproject.toml.jinja +58 -0
  43. pytemplate_uv-3.2.0/pytemplate/templates/library/template/tests/test_mcp_server.py.jinja +34 -0
  44. pytemplate_uv-3.2.0/pytemplate/templates/library/template/{{ package_name }}/mcp_server.py.jinja +26 -0
  45. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/profile.toml +2 -2
  46. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.devcontainer/devcontainer.json.jinja +13 -0
  47. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.github/dependabot.yml +16 -0
  48. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.github/workflows/ci.yml.jinja +35 -0
  49. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.github/workflows/release.yml.jinja +47 -0
  50. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.gitignore.jinja +93 -0
  51. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.mcp.json.jinja +8 -0
  52. pytemplate_uv-3.2.0/pytemplate/templates/python/template/.pre-commit-config.yaml.jinja +30 -0
  53. pytemplate_uv-3.0.0/pytemplate/templates/python/template/CLAUDE.md.jinja → pytemplate_uv-3.2.0/pytemplate/templates/python/template/AGENTS.md.jinja +15 -2
  54. pytemplate_uv-3.2.0/pytemplate/templates/python/template/CLAUDE.md +1 -0
  55. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/README.md.jinja +33 -0
  56. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/pyproject.toml.jinja +6 -0
  57. pytemplate_uv-3.2.0/pytemplate/templates/python/template/tests/__init__.py +0 -0
  58. pytemplate_uv-3.2.0/pytemplate/templates/python/template/tests/test_core.py.jinja +11 -0
  59. pytemplate_uv-3.2.0/pytemplate/templates/python/template/tests/test_mcp_server.py.jinja +34 -0
  60. pytemplate_uv-3.2.0/pytemplate/templates/python/template/{{ _copier_conf.answers_file }}.jinja +2 -0
  61. pytemplate_uv-3.2.0/pytemplate/templates/python/template/{{ package_name }}/__init__.py +0 -0
  62. pytemplate_uv-3.2.0/pytemplate/templates/python/template/{{ package_name }}/core.py +8 -0
  63. pytemplate_uv-3.2.0/pytemplate/templates/python/template/{{ package_name }}/mcp_server.py.jinja +26 -0
  64. pytemplate_uv-3.2.0/pytemplate/templates/python/template/{{ package_name }}/py.typed +0 -0
  65. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/questions.yml +10 -5
  66. pytemplate_uv-3.2.0/tests/cli_runner.py +31 -0
  67. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/conftest.py +5 -0
  68. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_cli.py +281 -15
  69. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_composition.py +3 -1
  70. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_generated_projects.py +32 -1
  71. pytemplate_uv-3.2.0/tests/test_packs.py +648 -0
  72. pytemplate_uv-3.2.0/tests/test_picker.py +34 -0
  73. pytemplate_uv-3.2.0/tests/test_post_create.py +125 -0
  74. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_profiles.py +30 -1
  75. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_rendering.py +128 -6
  76. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_schema.py +2 -2
  77. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_skill.py +33 -4
  78. pytemplate_uv-3.2.0/tests/test_status.py +110 -0
  79. pytemplate_uv-3.0.0/pytemplate/__init__.py +0 -2
  80. pytemplate_uv-3.0.0/pytemplate/packs.py +0 -189
  81. pytemplate_uv-3.0.0/pytemplate/updating.py +0 -294
  82. pytemplate_uv-3.0.0/tests/test_packs.py +0 -224
  83. pytemplate_uv-3.0.0/tests/test_updating.py +0 -337
  84. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/LICENSE +0 -0
  85. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/__init__.py +0 -0
  86. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/api.toml +0 -0
  87. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/auth-api-key.toml +0 -0
  88. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/auth-oidc.toml +0 -0
  89. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/auth.toml +0 -0
  90. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/cli.toml +0 -0
  91. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/container.toml +0 -0
  92. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/database.toml +0 -0
  93. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/components/worker.toml +0 -0
  94. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/py.typed +0 -0
  95. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/__init__.py +0 -0
  96. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/copier.yml +0 -0
  97. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/.dockerignore +0 -0
  98. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/.env.example.jinja +0 -0
  99. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/.gitignore.jinja +0 -0
  100. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/.pre-commit-config.yaml.jinja +0 -0
  101. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/Dockerfile.jinja +0 -0
  102. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/README.md.jinja +0 -0
  103. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/SECURITY.md.jinja +0 -0
  104. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/alembic.ini.jinja +0 -0
  105. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/migrations/env.py.jinja +0 -0
  106. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/migrations/script.py.mako +0 -0
  107. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/migrations/versions/0001_create_examples.py +0 -0
  108. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/pyproject.toml.jinja +0 -0
  109. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/__init__.py +0 -0
  110. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/conftest.py.jinja +0 -0
  111. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/__init__.py +0 -0
  112. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_api.py.jinja +0 -0
  113. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_api_key_auth.py.jinja +0 -0
  114. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_cli.py.jinja +0 -0
  115. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_database.py.jinja +0 -0
  116. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_jobs.py.jinja +0 -0
  117. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/integration/test_oidc_auth.py.jinja +0 -0
  118. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/__init__.py +0 -0
  119. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/test_examples.py.jinja +0 -0
  120. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/test_logging.py.jinja +0 -0
  121. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/test_principal.py.jinja +0 -0
  122. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/test_settings.py.jinja +0 -0
  123. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/tests/unit/test_tasks.py.jinja +0 -0
  124. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ _copier_conf.answers_file }}.jinja +0 -0
  125. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/__init__.py +0 -0
  126. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/__init__.py +0 -0
  127. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/dependencies.py.jinja +0 -0
  128. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/errors.py +0 -0
  129. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/health.py +0 -0
  130. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/middleware.py +0 -0
  131. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/routers/__init__.py +0 -0
  132. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/routers/examples.py +0 -0
  133. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/routers/jobs.py +0 -0
  134. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/routers/me.py +0 -0
  135. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/api/schemas.py +0 -0
  136. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/application/__init__.py +0 -0
  137. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/application/examples.py +0 -0
  138. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/application/tasks.py +0 -0
  139. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/bootstrap/__init__.py +0 -0
  140. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/bootstrap/app.py.jinja +0 -0
  141. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/bootstrap/container.py.jinja +0 -0
  142. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/bootstrap/logging.py +0 -0
  143. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/bootstrap/settings.py.jinja +0 -0
  144. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/cli.py.jinja +0 -0
  145. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/domain/__init__.py +0 -0
  146. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/domain/errors.py +0 -0
  147. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/domain/examples.py +0 -0
  148. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/domain/ports.py +0 -0
  149. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/__init__.py +0 -0
  150. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/database/__init__.py +0 -0
  151. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/database/engine.py +0 -0
  152. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/database/models.py +0 -0
  153. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/database/repository.py +0 -0
  154. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/database/unit_of_work.py +0 -0
  155. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/memory.py +0 -0
  156. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/infrastructure/tasks.py +0 -0
  157. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/main.py +0 -0
  158. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/py.typed +0 -0
  159. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/__init__.py +0 -0
  160. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/api_key.py +0 -0
  161. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/audit.py +0 -0
  162. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/dependencies.py +0 -0
  163. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/oidc.py +0 -0
  164. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/principal.py +0 -0
  165. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/fastapi/template/{{ package_name }}/security/rate_limit.py +0 -0
  166. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/.gitignore.jinja +0 -0
  167. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/.pre-commit-config.yaml.jinja +0 -0
  168. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/tests/__init__.py +0 -0
  169. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/tests/test_core.py.jinja +0 -0
  170. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/{{ _copier_conf.answers_file }}.jinja +0 -0
  171. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/{{ package_name }}/__init__.py +0 -0
  172. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/{{ package_name }}/core.py +0 -0
  173. {pytemplate_uv-3.0.0/pytemplate/templates/python → pytemplate_uv-3.2.0/pytemplate/templates/library}/template/{{ package_name }}/py.typed +0 -0
  174. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/.dockerignore +0 -0
  175. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/Dockerfile.jinja +0 -0
  176. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/tests/test_cli.py.jinja +0 -0
  177. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/pytemplate/templates/python/template/{{ package_name }}/cli.py.jinja +0 -0
  178. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_configuration.py +0 -0
  179. {pytemplate_uv-3.0.0 → pytemplate_uv-3.2.0}/tests/test_resolution.py +0 -0
@@ -4,6 +4,100 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## Unreleased
8
+
9
+ ## [3.2.0] — 2026-11-17
10
+
11
+ 3.2.0 makes the CLI friendlier and faster, adds a `library` profile with `release` and
12
+ `devcontainer` components, and hardens the CI of both this project and the projects it
13
+ generates. `--no-input` is deprecated in favour of `-y`.
14
+
15
+ ### Added
16
+
17
+ - `-y`/`--yes` on `create` accepts the template defaults without prompting.
18
+ - A `library` profile: a typed package with tests and tooling, without a CLI. It offers `mcp`,
19
+ `release`, and `devcontainer`.
20
+ - A `release` component for `python` and `library`: a PyPI trusted-publishing workflow on `v*`
21
+ tags that checks the tag against the project version and publishes with attestations.
22
+ - A `devcontainer` component for every profile.
23
+ - Every generated project has a `.github/dependabot.yml` for Actions and uv with a 7-day cooldown.
24
+ - `pytemplate status [PATH]` lists the files changed, deleted, or added since generation, using
25
+ `.pytemplate.toml`. It never writes.
26
+ - `create --git` makes a repository and a first commit, and `create --lock` runs `uv lock`. Both are
27
+ opt-in and never run on `--dry-run`.
28
+ - In a terminal, `create` with no `-c` offers the profile's optional components to pick from.
29
+ - Errors suggest the closest profile, component, schema, or `--data` key.
30
+ - After `create`, the CLI prints the next steps: `cd`, then the profile's lifecycle commands.
31
+ - Shell completion of profile and component identifiers.
32
+ - `--template-ref` accepts a full commit hash.
33
+ - A git pack pinned to both a commit and a digest is cached and re-verified on every use.
34
+ `--no-cache` or `PYTEMPLATE_NO_CACHE=1` turns this off; `PYTEMPLATE_CACHE_DIR` moves the cache.
35
+ - `pytemplate.__version__`.
36
+ - A documentation site, `SECURITY.md`, and issue forms.
37
+
38
+ ### Changed
39
+
40
+ - Without `-y`, `create` refuses to start when stdin is not a terminal (exit 1), instead of failing
41
+ in Copier after rendering began. `--json` implies `-y`.
42
+ - Errors and warnings go to stderr, unwrapped; JSON stays on stdout.
43
+ - `create --dry-run` runs the template's answer validators, as `validate` does.
44
+ - `validate` opens a template pack once instead of twice.
45
+ - `pytemplate --help`, `--version`, and the list, describe, and schema commands no longer import
46
+ Copier; importing the CLI takes about a quarter of the time it did.
47
+ - Git runs without credential prompts and with a 120-second timeout (`PYTEMPLATE_GIT_TIMEOUT`).
48
+ - Pack safety checks parse YAML, including `!include`d files and flow style, and also refuse
49
+ `_external_data`.
50
+ - Profile, component, manifest, and configuration errors are also `RequestError`s, so API callers
51
+ can catch one type. They are still `ValueError`s.
52
+ - Generated workflows pin every Action to a commit SHA and check out without persisted
53
+ credentials. The `python` and `fastapi` profiles are now version 5.
54
+ - Minimum versions: `copier>=9.5` and `typer>=0.15.4`, the oldest that pass the tests. `questionary`
55
+ is now a direct dependency.
56
+ - The package is classified `Production/Stable`.
57
+
58
+ ### Deprecated
59
+
60
+ - `--no-input`: use `-y`. It still works, hidden from `--help`, and prints a warning. It will be
61
+ removed in 4.0.
62
+
63
+ ## [3.1.0] — 2026-11-11
64
+
65
+ 3.1.0 makes generated projects ready for AI coding agents. It also removes `pytemplate update`
66
+ without the deprecation period that [docs/compatibility.md](docs/compatibility.md) asks for;
67
+ that page records the exception.
68
+
69
+ ### Removed
70
+
71
+ - **Breaking:** `pytemplate update`, the `update` API, `--template-source`, and the request-file
72
+ key `template_source` are gone, along with the repository-root `copier.yml` that `update`
73
+ fetched by tag. A generated project belongs to its owner from the first commit; to see what a
74
+ newer release changed, generate a fresh project with the same answers and compare. Generated
75
+ projects still record `.copier-answers.yml` and `.pytemplate.toml`.
76
+
77
+ ### Added
78
+
79
+ - An `mcp` component for the `python` profile: a Model Context Protocol server over stdio on the
80
+ official `mcp` SDK (2.x), with one read-only tool, a `<project_name>-mcp` command, a test that
81
+ calls the tool through the server, and a `.mcp.json` that registers it for agents working in
82
+ the project.
83
+ - Generated projects carry an `AGENTS.md`, the file most coding agents read. It holds what
84
+ `CLAUDE.md` held.
85
+ - `skill install --agent agents` installs the skill into `.agents/skills`, which Codex and other
86
+ Agent Skills clients read. `claude` remains the default.
87
+ - `--template-commit` and `--template-digest` (`template_commit` and `template_digest` in request
88
+ files) refuse a git template pack whose tag moved or whose files changed, before any of it is
89
+ read.
90
+ - Projects from a git pack record the commit and digest they were rendered from in
91
+ `.pytemplate.toml`, and `plan --json` reports them.
92
+
93
+ ### Changed
94
+
95
+ - Generated `CLAUDE.md` is now one line that imports `AGENTS.md`. The `python` and `fastapi`
96
+ profiles are version 4.
97
+ - `mcp` is a reserved package name, like the other generated dependencies.
98
+ - Git template packs are cloned without line-ending conversion, so a pack has the same bytes on
99
+ every machine.
100
+
7
101
  ## [3.0.0] — 2026-10-29
8
102
 
9
103
  3.0.0 is the first release since 2.0.0. It includes the unreleased 2.1 work, listed after the
@@ -69,6 +163,9 @@ deprecation rules that now apply.
69
163
 
70
164
  ### Changed
71
165
 
166
+ - Generated `CLAUDE.md` is now one line that imports `AGENTS.md`. The `python` and `fastapi`
167
+ profiles are version 4.
168
+ - `mcp` is a reserved package name, like the other generated dependencies.
72
169
  - The bundled skill discovers components and previews requests with `plan --json`.
73
170
  - CPython 3.15 is supported for the generator and for generated projects:
74
171
  - `python_version` accepts `3.15`;
@@ -96,6 +193,9 @@ deprecation rules that now apply.
96
193
 
97
194
  #### Changed
98
195
 
196
+ - Generated `CLAUDE.md` is now one line that imports `AGENTS.md`. The `python` and `fastapi`
197
+ profiles are version 4.
198
+ - `mcp` is a reserved package name, like the other generated dependencies.
99
199
  - Rendering uses Copier instead of Cookiecutter. Templates live in
100
200
  `pytemplate/templates/<profile>/` with a `copier.yml`; only `*.jinja` files are rendered.
101
201
  - Generated projects depend only on `uv` and `uvx`: `uv_build` backend, PEP 735
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytemplate-uv
3
- Version: 3.0.0
3
+ Version: 3.2.0
4
4
  Summary: A deterministic application factory: uv-native Python and FastAPI projects from profiles, composable components, and template packs.
5
5
  Keywords: uv,copier,template,project-generator,scaffold,fastapi,cli,sqlalchemy,alembic,oidc
6
6
  Author: Leo Liu
7
7
  Author-email: Leo Liu <yuxuzi@gmail.com>
8
8
  License-Expression: MIT
9
9
  License-File: LICENSE
10
- Classifier: Development Status :: 4 - Beta
10
+ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Console
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Operating System :: OS Independent
@@ -21,14 +21,16 @@ Classifier: Programming Language :: Python :: 3.15
21
21
  Classifier: Topic :: Software Development :: Code Generators
22
22
  Classifier: Topic :: Utilities
23
23
  Classifier: Typing :: Typed
24
- Requires-Dist: copier>=9.4,<10
24
+ Requires-Dist: copier>=9.5,<10
25
+ Requires-Dist: questionary>=2.0
25
26
  Requires-Dist: rich>=13.7.0
26
- Requires-Dist: typer>=0.12.0
27
+ Requires-Dist: typer>=0.15.4
27
28
  Requires-Python: >=3.11
28
29
  Project-URL: Homepage, https://github.com/yuxuzi/pytemplate-uv
29
30
  Project-URL: Repository, https://github.com/yuxuzi/pytemplate-uv
30
31
  Project-URL: Issues, https://github.com/yuxuzi/pytemplate-uv/issues
31
32
  Project-URL: Changelog, https://github.com/yuxuzi/pytemplate-uv/blob/main/CHANGELOG.md
33
+ Project-URL: Documentation, https://yuxuzi.github.io/pytemplate-uv/
32
34
  Description-Content-Type: text/markdown
33
35
 
34
36
  # pytemplate-uv
@@ -57,7 +59,8 @@ ready-to-deploy project.
57
59
 
58
60
  ### Profiles (choose one)
59
61
 
60
- - **`python`** — a typed package with a Typer CLI; great for tools and libraries
62
+ - **`python`** — a typed package with a Typer CLI; great for tools
63
+ - **`library`** — a typed package with no CLI or console script; great for code others import
61
64
  - **`fastapi`** — a layered REST API service with structured logging, health checks, security, and organized architecture
62
65
 
63
66
  ### Components (mix and match)
@@ -69,6 +72,9 @@ ready-to-deploy project.
69
72
  | `auth-api-key` | API key authentication with scopes | For service-to-service auth |
70
73
  | `auth-oidc` | OpenID Connect (JWT) authentication | For user login via identity provider |
71
74
  | `container` | Dockerfile and `.dockerignore` | For containerized deployment |
75
+ | `devcontainer` | A `.devcontainer/devcontainer.json` for VS Code and Codespaces with uv installed | For a one-click development environment |
76
+ | `release` | A trusted-publishing PyPI release workflow triggered by a `v*` tag (`python` and `library` profiles) | To publish a package |
77
+ | `mcp` | An MCP server over stdio, with a typed tool, a test, and `.mcp.json` (`python` and `library` profiles) | To give AI agents tools they can call |
72
78
 
73
79
  Mix components freely — the generator validates combinations and adds required dependencies.
74
80
 
@@ -79,14 +85,13 @@ Every project generated from the bundled templates passes:
79
85
  - ✅ Strict `mypy` (type safety)
80
86
  - ✅ `pytest` (tests included)
81
87
 
82
- This is verified across all 26 bundled component combinations on every commit. Projects from
88
+ This is verified across all 28 bundled component combinations on every commit. Projects from
83
89
  your own template packs are not covered by these checks; test your pack the same way.
84
90
 
85
91
  ### Built for teams
86
92
 
87
93
  - **Inspectable:** `plan` shows files and dependencies without writing anything
88
94
  - **Reproducible:** `.pytemplate.toml` records exact versions and checksums for each file
89
- - **Updatable:** `pytemplate update` does a three-way merge with your edits when a new release comes out
90
95
  - **Scriptable:** `--json` output and stable exit codes for CI/CD integration
91
96
  - **Extensible:** bring your own profiles and components via template packs
92
97
 
@@ -100,10 +105,8 @@ your own template packs are not covered by these checks; test your pack the same
100
105
  **The solution:**
101
106
  - Start from reviewed patterns: layered architecture, health checks, structured logs, auth
102
107
  behind a principal and scopes
103
- - Every bundled component combination is generated and checked in CI (26 combinations, on
108
+ - Every bundled component combination is generated and checked in CI (28 combinations, on
104
109
  Linux and Windows)
105
- - Pull in later template releases with `pytemplate update`: a three-way merge that keeps your
106
- edits and marks real conflicts inline
107
110
  - Script it: the same request always produces the same project
108
111
 
109
112
  **Good fit for:**
@@ -130,12 +133,15 @@ Requires Python 3.11–3.15. Runs on Linux, macOS, and Windows. Also available v
130
133
  ### 30-second quickstart
131
134
 
132
135
  ```bash
133
- pytemplate create my-api -p fastapi -c database -c auth-oidc --no-input
136
+ uvx pytemplate-uv create my-api -p fastapi -c database -c auth-oidc -y
134
137
  cd my-api
135
138
  uv sync
136
139
  uv run pytest
137
140
  ```
138
141
 
142
+ (If you installed the `pytemplate` command, write `pytemplate create ...`.) When it finishes,
143
+ `create` prints the next steps: the `cd` and the profile's own lifecycle commands.
144
+
139
145
  That's it: a layered FastAPI service with a database, OIDC authentication, tests, a GitHub
140
146
  Actions workflow, structured logging, and health checks.
141
147
 
@@ -143,13 +149,13 @@ Actions workflow, structured logging, and health checks.
143
149
 
144
150
  ```bash
145
151
  # Python CLI tool
146
- pytemplate create my-tool -p python --no-input
152
+ pytemplate create my-tool -p python -y
147
153
 
148
154
  # FastAPI service with background jobs
149
- pytemplate create my-service -p fastapi -c worker -c database --no-input
155
+ pytemplate create my-service -p fastapi -c worker -c database -y
150
156
 
151
157
  # Containerized API with API key auth
152
- pytemplate create my-api -p fastapi -c auth-api-key -c container --no-input
158
+ pytemplate create my-api -p fastapi -c auth-api-key -c container -y
153
159
 
154
160
  # Preview before writing anything
155
161
  pytemplate plan --name my-api -p fastapi -c database -c auth-oidc
@@ -160,10 +166,10 @@ pytemplate validate --name my-api -p fastapi -c auth
160
166
  ```
161
167
 
162
168
  `create-project` is an optional shortcut with the same arguments and options as
163
- `pytemplate create`:
169
+ `pytemplate create` (`uvx pytemplate-uv create NAME` needs no shortcut):
164
170
 
165
171
  ```bash
166
- uvx --from pytemplate-uv create-project pricing-api -p fastapi --no-input
172
+ uvx --from pytemplate-uv create-project pricing-api -p fastapi -y
167
173
  ```
168
174
 
169
175
  ### Commands
@@ -174,16 +180,16 @@ uvx --from pytemplate-uv create-project pricing-api -p fastapi --no-input
174
180
  | `plan` | Preview files and dependencies (no write) |
175
181
  | `validate` | Check for errors before rendering |
176
182
  | `create-from-config FILE` | Render from a TOML request file |
183
+ | `status [PATH]` | List files changed, deleted, or added since generation (read-only) |
177
184
  | `list-profiles` / `describe-profile ID` | Show profiles and their inputs |
178
185
  | `list-components` / `describe-component ID` | Show components: requirements, conflicts, dependencies, files, settings |
179
- | `update [DIR]` | Merge a newer template release into an existing project (dry run unless `--apply`) |
180
186
  | `schema NAME` | Print a JSON Schema (`profile`, `component`, `pack`, `request`, `manifest`) |
181
187
  | `skill install` / `skill show` | Install or print the AI project-creation skill |
182
188
 
183
189
  **Tips:**
184
- - Every command except `schema` (which already prints JSON), `update`, and `skill` accepts `--json`
190
+ - Every command except `schema` (which already prints JSON) and `skill` accepts `--json`
185
191
  - Use `--template` to render from your own template pack
186
- - `plan`, `validate`, and `update` without `--apply` write nothing
192
+ - `plan` and `validate` write nothing
187
193
 
188
194
  **Exit codes:**
189
195
  - `0`: success.
@@ -201,12 +207,32 @@ uvx --from pytemplate-uv create-project pricing-api -p fastapi --no-input
201
207
  - Inputs are `package_name`, `description`, `author`, `email`, `python_version` (3.11–3.15),
202
208
  and `license` (an SPDX expression).
203
209
  - `--template`, `-t SOURCE` and `--template-ref REF`: render from a template pack (see below).
204
- - `--no-input`: accept defaults instead of prompting.
210
+ - `--yes`, `-y`: accept the template defaults instead of prompting. Without it, `create`
211
+ prompts, and the picker below asks for optional components; when standard input is not a
212
+ terminal it exits 1 before rendering and asks for `-y`. `--json` implies `-y`.
213
+ `--no-input` still works but is deprecated: it prints a warning on stderr and goes away in 4.0.
214
+ - `--git`: after rendering, run `git init` and commit everything as "Initial commit from
215
+ pytemplate-uv". `--lock`: run `uv lock` first, so the commit includes `uv.lock`. Neither is
216
+ ever the default, and neither runs with `--dry-run`. If a step fails, the project stays and the
217
+ exit code is 2 with a message saying what was created and what failed.
205
218
  - `--dry-run`: validate and show the target without writing.
206
219
  - `--force`, `-f`: replace an existing directory. The project is rendered into a staging
207
220
  directory and swapped in only after rendering succeeds, so no stale files remain.
208
221
  - `--json`: print the result as JSON.
209
222
 
223
+ ### Component picker, completion, and status
224
+
225
+ - In a terminal, without `-y`, `--json`, or `-c`, `create` offers the profile's optional components
226
+ as a multi-select list. Required components are still added, and conflicts still refused.
227
+ - `--profile` and `--component` complete in your shell (for the bundled catalog) once you run
228
+ `pytemplate --install-completion`.
229
+ - `pytemplate status [PATH]` compares a generated project with the SHA-256 inventory in
230
+ `.pytemplate.toml` and lists the files you changed, deleted, or added. It ignores `.git/`,
231
+ `.venv/`, caches, `uv.lock`, and the manifest, never writes, accepts `--json`, and exits 1 when
232
+ `PATH` has no valid manifest.
233
+ - Errors and warnings go to stderr; only `--json` output and results go to stdout. A misspelled
234
+ profile, component, schema, or `--data` key gets a "Did you mean" suggestion.
235
+
210
236
  ### Reproducible render requests
211
237
 
212
238
  ```toml
@@ -253,36 +279,49 @@ my-pack/
253
279
 
254
280
  ```bash
255
281
  pytemplate list-profiles --template ./my-pack
256
- pytemplate create my-tool -p tool --template gh:org/my-pack --template-ref v1.2.0 --no-input
282
+ pytemplate create my-tool -p tool --template gh:org/my-pack --template-ref v1.2.0 -y
257
283
  ```
258
284
 
259
285
  - Packs are selected explicitly for each request; nothing is discovered or installed.
260
286
  - They follow the same rules as the bundled templates:
261
287
  - they render with Copier's `unsafe=False`;
262
- - `_tasks`, `_migrations`, `_jinja_extensions`, and symlinks are rejected.
263
- - Pack-generated projects record the pack's source and tag, so
264
- `pytemplate update --to <tag>` works for them too.
288
+ - `_tasks`, `_migrations`, `_jinja_extensions`, `_external_data`, and symlinks are rejected,
289
+ including in files a pack's `copier.yml` includes.
290
+ - Pack-generated projects record the pack's source and tag.
291
+ - Projects from a git pack also record the commit and digest they were rendered from. To refuse a
292
+ pack that changed, pin them:
293
+ ```bash
294
+ pytemplate create my-tool -p tool --template gh:org/my-pack --template-ref v1.2.0 \
295
+ --template-commit <commit> --template-digest <digest> -y
296
+ ```
297
+ `--template-ref` also accepts a full commit hash. A pack pinned to both a commit and a digest is
298
+ cached under your user cache directory and checked against the digest on every use. Pass
299
+ `--no-cache` (or set `PYTEMPLATE_NO_CACHE=1`) to fetch it again; `PYTEMPLATE_CACHE_DIR` moves
300
+ the cache. Git never prompts for credentials, and a clone stops after 120 seconds
301
+ (`PYTEMPLATE_GIT_TIMEOUT`).
265
302
  - See [docs/compatibility.md](docs/compatibility.md) for the versioning rules.
266
303
 
267
- ## Update an existing project
304
+ ## Built for AI coding agents
305
+
306
+ Every generated project carries an `AGENTS.md`: its commands, layout, conventions, and safety
307
+ rules, for any agent that reads the [AGENTS.md](https://agents.md) format. `CLAUDE.md` is a
308
+ one-line import of it, so Claude Code reads the same text.
268
309
 
269
- Projects created by 3.0 or later can pull in newer template releases.
270
- - The update is a three-way merge: your edits are kept, and real conflicts are marked inline.
271
- - It needs `git` and network access to `github.com/yuxuzi/pytemplate-uv`.
310
+ To build something an agent can call, add `mcp` to a `python` project:
272
311
 
273
312
  ```bash
274
- cd pricing-api # a git repository with no uncommitted changes
275
- pytemplate update # dry run: shows what would change
276
- pytemplate update --apply # merge the templates of the installed pytemplate version
277
- git diff # review, resolve any <<<<<<< markers, run the checks, commit
313
+ pytemplate create pricing-tools --profile python --component mcp -y
314
+ cd pricing-tools && uv sync && uv run pytest
278
315
  ```
279
316
 
280
- Projects generated by 2.0 have no `.copier-answers.yml` and cannot be updated. Generate a fresh
281
- 3.0 project with the same answers and move your code over.
317
+ You get a [Model Context Protocol](https://modelcontextprotocol.io) server on the official SDK,
318
+ a `pricing-tools-mcp` command, a test that calls the tool through the server, and a `.mcp.json`
319
+ that registers it for agents working in the repository. Rendering it calls no model and needs no
320
+ API key.
282
321
 
283
322
  ## Create projects with Claude or other AI tools
284
323
 
285
- pytemplate-uv ships a Claude Code skill (`SKILL.md`) that teaches Claude to:
324
+ pytemplate-uv ships an agent skill (`SKILL.md`) that teaches an agent to:
286
325
  - discover profiles and components;
287
326
  - write a render request and check it with `plan`;
288
327
  - **wait for your confirmation**;
@@ -291,6 +330,7 @@ pytemplate-uv ships a Claude Code skill (`SKILL.md`) that teaches Claude to:
291
330
  ```bash
292
331
  uvx pytemplate-uv skill install # ~/.claude/skills/pytemplate/SKILL.md (all projects)
293
332
  uvx pytemplate-uv skill install --project # ./.claude/skills/pytemplate/SKILL.md (this repo)
333
+ uvx pytemplate-uv skill install --agent agents # ~/.agents/skills, for Codex and other clients
294
334
  ```
295
335
 
296
336
  Then ask, for example, *"Create a FastAPI service called pricing-api with a database and OIDC
@@ -329,7 +369,7 @@ pytemplate schema request
329
369
 
330
370
  ```
331
371
  pricing-api/
332
- CLAUDE.md README.md pyproject.toml .env.example .copier-answers.yml .pytemplate.toml
372
+ AGENTS.md CLAUDE.md README.md pyproject.toml .env.example .copier-answers.yml .pytemplate.toml
333
373
  pricing_api/
334
374
  api/ routers/, schemas, dependencies, errors, middleware, health
335
375
  application/ use cases
@@ -349,7 +389,7 @@ pricing-api/
349
389
  ```bash
350
390
  uv sync
351
391
  uv run pytest # run unit tests
352
- PYTEMPLATE_SMOKE=1 uv run pytest # verify all 26 component combinations work
392
+ PYTEMPLATE_SMOKE=1 uv run pytest # verify all 28 component combinations work
353
393
  uv run ruff check .
354
394
  uv run mypy
355
395
  ```
@@ -383,13 +423,13 @@ Use `--template` to point to your own template pack (a directory or git repo). Y
383
423
  composition logic but with your own code.
384
424
 
385
425
  **How do I keep my project updated?**
386
- Run `pytemplate update`. It does a three-way merge that keeps your edits and merges in new
387
- template improvements; real conflicts are marked inline for you to resolve. Projects generated
388
- by 3.0 or later can be updated.
426
+ The generated project is yours from the first commit; pytemplate does not merge later template
427
+ releases into it. Keep dependencies current with `uv lock --upgrade` or a bot such as Dependabot.
428
+ To see what a newer release changed, generate a fresh project with the same answers and compare.
389
429
 
390
430
  **Do I need to commit the generated code?**
391
431
  Yes—generate the project into a git repo and commit it. `.pytemplate.toml` records how it was
392
- made, so you can update it later.
432
+ made.
393
433
 
394
434
  **Is the generated code opinionated?**
395
435
  Yes, intentionally. We have opinions on:
@@ -398,12 +438,12 @@ Yes, intentionally. We have opinions on:
398
438
  - Layered architecture (domain, application, infrastructure)
399
439
  - Type safety (strict mypy by default)
400
440
 
401
- Each generated project's `README.md` and `CLAUDE.md` describe its layout and conventions.
441
+ Each generated project's `README.md` and `AGENTS.md` describe its layout and conventions.
402
442
 
403
443
  **Can I generate projects without a network connection?**
404
444
  Yes, with the bundled templates: rendering never touches the network or reads your environment,
405
- and Copier runs with `unsafe=False`, so templates can't execute code. Git template packs,
406
- `pytemplate update`, and the generated project's `uv sync` need network access.
445
+ and Copier runs with `unsafe=False`, so templates can't execute code. Git template packs and
446
+ the generated project's `uv sync` need network access.
407
447
 
408
448
  ## License
409
449