oe-python-template 0.6.21__tar.gz → 0.6.23__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 (169) hide show
  1. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.copier-answers.yml +1 -1
  2. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/workflows/codeql.yml +1 -1
  3. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/CHANGELOG.md +15 -1
  4. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/PKG-INFO +61 -24
  5. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/README.md +60 -23
  6. oe_python_template-0.6.23/RELEASE_NOTES.md +8 -0
  7. oe_python_template-0.6.23/VERSION +1 -0
  8. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/partials/README_main.md +60 -23
  9. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/conf.py +1 -1
  10. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/pyproject.toml +2 -2
  11. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/sonar-project.properties +1 -1
  12. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/workflows/codeql.yml +1 -1
  13. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/workflows/docker-image-build-publish.yml.jinja +1 -3
  14. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/partials/README_main.md.jinja +60 -23
  15. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/uv.lock +1 -1
  16. oe_python_template-0.6.21/RELEASE_NOTES.md +0 -8
  17. oe_python_template-0.6.21/VERSION +0 -1
  18. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.act-env-public +0 -0
  19. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.devcontainer/Dockerfile +0 -0
  20. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.devcontainer/devcontainer.json +0 -0
  21. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.devcontainer/onCreateCommand +0 -0
  22. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.devcontainer/postAttachCommand +0 -0
  23. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.devcontainer/postCreateCommand +0 -0
  24. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.env.example +0 -0
  25. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/copilot-instructions.md +0 -0
  26. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/dependabot.yml +0 -0
  27. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/prompts/.keep +0 -0
  28. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/workflows/docker-image-build-publish.yml +0 -0
  29. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/workflows/package-build-publish-release.yml +0 -0
  30. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.github/workflows/test-and-report.yml +0 -0
  31. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.gitignore +0 -0
  32. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.pre-commit-config.yaml +0 -0
  33. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.python-version +0 -0
  34. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.readthedocs.yml +0 -0
  35. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.secrets.baseline +0 -0
  36. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.vscode/extensions.json +0 -0
  37. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/.vscode/settings.json +0 -0
  38. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/CODEOWNERS +0 -0
  39. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/CODE_STYLE.md +0 -0
  40. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/CONTRIBUTING.md +0 -0
  41. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/Dockerfile +0 -0
  42. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/LICENSE +0 -0
  43. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/SECURITY.md +0 -0
  44. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/SERVICE_CONNECTIONS.md +0 -0
  45. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/bin/git-cliff +0 -0
  46. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/codecov.yml +0 -0
  47. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/compose.yaml +0 -0
  48. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/copier.yml +0 -0
  49. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/Makefile +0 -0
  50. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/make.bat +0 -0
  51. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/partials/README_footer.md +0 -0
  52. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/partials/README_header.md +0 -0
  53. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/_static/.keep +0 -0
  54. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/_static/openapi_v1.json +0 -0
  55. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/_static/openapi_v1.yaml +0 -0
  56. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/_static/openapi_v2.json +0 -0
  57. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/_static/openapi_v2.yaml +0 -0
  58. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/api_v1.rst +0 -0
  59. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/api_v1.rst.jinja +0 -0
  60. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/api_v2.rst +0 -0
  61. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/api_v2.rst.jinja +0 -0
  62. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/code-style.rst +0 -0
  63. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/contributing.rst +0 -0
  64. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/index.rst +0 -0
  65. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/latexmkrc +0 -0
  66. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/main.rst +0 -0
  67. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/reference.rst +0 -0
  68. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/release-notes.rst +0 -0
  69. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/docs/source/security.rst +0 -0
  70. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/examples/__init__.py +0 -0
  71. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/examples/notebook.ipynb +0 -0
  72. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/examples/notebook.py +0 -0
  73. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/examples/script.py +0 -0
  74. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/examples/streamlit.py +0 -0
  75. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/CHANGELOG.md +0 -0
  76. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
  77. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/LICENSE-MIT +0 -0
  78. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/README.md +0 -0
  79. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/completions/_git-cliff +0 -0
  80. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
  81. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
  82. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
  83. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
  84. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/git-cliff-completions +0 -0
  85. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/git-cliff-mangen +0 -0
  86. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
  87. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
  88. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/github-action-run +0 -0
  89. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/logo.png +0 -0
  90. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/n +0 -0
  91. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/noxfile.py +0 -0
  92. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/renovate.json +0 -0
  93. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/reports/.keep +0 -0
  94. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/src/oe_python_template/__init__.py +0 -0
  95. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/src/oe_python_template/api.py +0 -0
  96. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/src/oe_python_template/cli.py +0 -0
  97. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/src/oe_python_template/constants.py +0 -0
  98. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/src/oe_python_template/service.py +0 -0
  99. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.act-env-public.jinja +0 -0
  100. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.devcontainer/Dockerfile.jinja +0 -0
  101. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.devcontainer/devcontainer.json.jinja +0 -0
  102. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.devcontainer/onCreateCommand.jinja +0 -0
  103. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.devcontainer/postAttachCommand.jinja +0 -0
  104. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.devcontainer/postCreateCommand.jinja +0 -0
  105. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.env.example.jinja +0 -0
  106. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/copilot-instructions.md +0 -0
  107. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/dependabot.yml +0 -0
  108. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
  109. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.github/workflows/test-and-report.yml.jinja +0 -0
  110. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.gitignore.jinja +0 -0
  111. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.pre-commit-config.yaml.jinja +0 -0
  112. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.python-version +0 -0
  113. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.readthedocs.yml.jinja +0 -0
  114. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.vscode/extensions.json +0 -0
  115. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/.vscode/settings.json.jinja +0 -0
  116. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/CHANGELOG.md +0 -0
  117. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/CODEOWNERS.jinja +0 -0
  118. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/CODE_STYLE.md.jinja +0 -0
  119. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/CONTRIBUTING.md.jinja +0 -0
  120. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/Dockerfile.jinja +0 -0
  121. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/LICENSE.jinja +0 -0
  122. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/README.md +0 -0
  123. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/SECURITY.md.jinja +0 -0
  124. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
  125. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/VERSION +0 -0
  126. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/codecov.yml.jinja +0 -0
  127. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/compose.yaml.jinja +0 -0
  128. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/Makefile.jinja +0 -0
  129. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/make.bat.jinja +0 -0
  130. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/partials/README_footer.md.jinja +0 -0
  131. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/partials/README_header.md.jinja +0 -0
  132. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/_static/.keep +0 -0
  133. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/api_v1.rst.jinja +0 -0
  134. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/api_v2.rst.jinja +0 -0
  135. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/code-style.rst.jinja +0 -0
  136. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/conf.py.jinja +0 -0
  137. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/contributing.rst.jinja +0 -0
  138. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/index.rst.jinja +0 -0
  139. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/main.rst.jinja +0 -0
  140. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/reference.rst.jinja +0 -0
  141. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/release-notes.rst.jinja +0 -0
  142. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/docs/source/security.rst.jinja +0 -0
  143. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/examples/__init__.py.jinja +0 -0
  144. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/examples/notebook.ipynb.jinja +0 -0
  145. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/examples/notebook.py.jinja +0 -0
  146. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/examples/script.py.jinja +0 -0
  147. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/examples/streamlit.py.jinja +0 -0
  148. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/github-action-run.jinja +0 -0
  149. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/logo.png +0 -0
  150. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/n.jinja +0 -0
  151. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/noxfile.py.jinja +0 -0
  152. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/pyproject.toml.jinja +0 -0
  153. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/renovate.json +0 -0
  154. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/reports/.keep +0 -0
  155. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/sonar-project.properties.jinja +0 -0
  156. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
  157. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -0
  158. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
  159. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
  160. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
  161. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/tests/__init__.py.jinja +0 -0
  162. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/tests/api_test.py.jinja +0 -0
  163. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/tests/cli_test.py.jinja +0 -0
  164. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/tests/fixtures/.keep +0 -0
  165. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/template/{{_copier_conf.answers_file}}.jinja +0 -0
  166. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/tests/__init__.py +0 -0
  167. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/tests/api_test.py +0 -0
  168. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/tests/cli_test.py +0 -0
  169. {oe_python_template-0.6.21 → oe_python_template-0.6.23}/tests/fixtures/.keep +0 -0
@@ -1,4 +1,4 @@
1
- _commit: v0.6.20-1-gd9c2a33
1
+ _commit: v0.6.22-1-g59b0d10
2
2
  _src_path: .
3
3
  author_email: helmuthva@gmail.com
4
4
  author_github_username: helmut-hoffer-von-ankershoffen
@@ -59,7 +59,7 @@ jobs:
59
59
  - name: Checkout repository
60
60
  uses: actions/checkout@v4
61
61
 
62
- # Add any setup steps before running the `github/codeql-action/init` action.
62
+ # Add any setup steps before running the `github/codeql-action/init` action.
63
63
  # This includes steps like installing compilers or runtimes (`actions/setup-node`
64
64
  # or others). This is typically only required for manual builds.
65
65
  # - name: Setup runtime (example)
@@ -1,6 +1,20 @@
1
1
  [🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
2
2
 
3
- ## [0.6.21](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.20..0.6.21) - 2025-03-18
3
+ ## [0.6.23](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.22..0.6.23) - 2025-03-20
4
+
5
+ ### 📚 Documentation
6
+
7
+ - Refactor intro - ([7e30bd3](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/7e30bd30a516c52c729615fa516e0b493cdf0213))
8
+
9
+
10
+ ## [0.6.22](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.21..v0.6.22) - 2025-03-19
11
+
12
+ ### 📚 Documentation
13
+
14
+ - Polish - ([9af66c9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/9af66c97bb04eeebd63395cff33b5a650dd081aa))
15
+
16
+
17
+ ## [0.6.21](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.20..v0.6.21) - 2025-03-18
4
18
 
5
19
  ### ⚙️ Miscellaneous Tasks
6
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template
3
- Version: 0.6.21
3
+ Version: 0.6.23
4
4
  Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
5
5
  Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
@@ -103,14 +103,51 @@ Description-Content-Type: text/markdown
103
103
 
104
104
  Copier template to scaffold Python projects compliant with best practices and modern tooling.
105
105
 
106
- Use Cases:
107
- 1) Fast and easy to use project setup
108
- 2) Consistent update of already scaffolded projects to benefit from new and improved features.
109
- 3) Dummy CLI application and service demonstrating example usage of the generated directory structure and build pipeline
110
-
111
- ## Scaffolding
112
-
113
- **Step 1**: Install uv package manager and copier
106
+ This [Copier](https://copier.readthedocs.io/en/stable/) template enables you to quickly generate a Python package with fully functioning build and test automation.
107
+ Projects generated from this template can be [easily updated](https://copier.readthedocs.io/en/stable/updating/) to benefit from improvements and new features of the template.
108
+
109
+ Features:
110
+ - Package management with [uv](https://github.com/astral-sh/uv)
111
+ - Code formatting with [Ruff](https://github.com/astral-sh/ruff)
112
+ - Linting with [Ruff](https://github.com/astral-sh/ruff)
113
+ - Static type checking with [mypy](https://mypy.readthedocs.io/en/stable/)
114
+ - Complete set of [pre-commit](https://pre-commit.com/) hooks including [detect-secrets](https://github.com/Yelp/detect-secrets) and [pygrep](https://github.com/pre-commit/pygrep-hooks)
115
+ - Unit and E2E testing with [pytest](https://docs.pytest.org/en/stable/) including parallel test execution
116
+ - Matrix testing in multiple environments with [nox](https://nox.thea.codes/en/stable/)
117
+ - Test coverage reported with [Codecov](https://codecov.io/) and published as release artifact
118
+ - CI/CD pipeline automated with [GitHub Actions](https://github.com/features/actions)
119
+ - CI/CD pipeline can be run locally with [act](https://github.com/nektos/act)
120
+ - Code quality and security checks with [SonarQube](https://www.sonarsource.com/products/sonarcloud) and [GitHub CodeQL](https://codeql.github.com/)
121
+ - Dependency monitoring with [pip-audit](https://pypi.org/project/pip-audit/), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
122
+ - Licenses of dependencies extracted with [pip-licenses](https://pypi.org/project/pip-licenses/) and published as release artefacts
123
+ - Software Bill of Materials (SBOM) generated with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) and published as release artifact
124
+ - Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
125
+ - Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
126
+ - Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and PDF export
127
+ - Documentation published to [Read The Docs](https://readthedocs.org/)
128
+ - Interactive OpenAPI specification with [Swagger](https://swagger.io/)
129
+ - Python package published to [PyPI](https://pypi.org/)
130
+ - Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
131
+ - One-click development environments with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) and [GitHub Codespaces](https://github.com/features/codespaces)
132
+
133
+ The generated project includes code, documentation and configuration of a fully functioning demo-application and service, which can be used as a starting point for your own project.
134
+ - Service architecture suitable for use as shared library
135
+ - Validation with [pydantic](https://docs.pydantic.dev/)
136
+ - Command-line interface (CLI) with [Typer](https://typer.tiangolo.com/)
137
+ - Versioned Web API with [FastAPI](https://fastapi.tiangolo.com/)
138
+ - [Interactive Jupyter notebook](https://jupyter.org/) and [reactive Marimo notebook](https://marimo.io/)
139
+ - Simple Web UI with [Streamlit](https://streamlit.io/)
140
+ - Configuration to run the CLI and API in a Docker container including setup for [Docker Compose](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-docker-compose/)
141
+ - Documentation including badges, setup instructions, contribution guide and security policy
142
+
143
+ Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example) for what's generated out of the box.
144
+
145
+ ## Generate a new project
146
+
147
+ This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
148
+ To generate a new project, follow these steps:
149
+
150
+ **Step 1**: Install uv package manager and copier. Copy the following code into your terminal and execute it.
114
151
  ```shell
115
152
  if [[ "$OSTYPE" == "darwin"* ]]; then # Install dependencies for macOS X
116
153
  if ! command -v brew &> /dev/null; then ## Install Homebrew if not present
@@ -126,38 +163,37 @@ fi
126
163
  uv tool install copier # Install copier as global tool
127
164
  ```
128
165
 
129
- **Step 2**: Now create an empty repository on GitHub, clone to your local machine, and change into it's directory.
166
+ **Step 2**: [Create an empty repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
130
167
 
131
- **Step 3**: Scaffold the project
168
+ **Step 3**: Generate the project. Copy
132
169
  ```shell
133
170
  copier copy --trust gh:helmut-hoffer-von-ankershoffen/oe-python-template .
134
171
  ```
135
172
 
136
- **Step 4**: Perform initial commit and push
173
+ **Step 4**: Perform initial commit and push. Copy the following code into your terminal and execute it.
137
174
  ```shell
138
175
  git add .
139
176
  git commit -m "feat: Initial commit"
140
177
  git push
141
178
  ```
142
179
 
143
- Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
144
- as this external service is not yet configured for our new repository.
180
+ Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
145
181
 
146
182
  **Step 5**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
147
- external services such as Cloudcov, SonarQube Cloud, Read The Docs, Docker.io, GHCR.io and Streamlit Community Cloud.
183
+ external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, and Streamlit Community Cloud.
148
184
 
149
185
  **Step 6**: Release the first versions
150
186
  ```shell
151
187
  ./n bump
152
188
  ```
153
189
  Notes:
154
- * You can remove this section post having successfully scafolded your project.
190
+ * You can remove this section post having successfully generated your project.
155
191
  * The following sections refer to the dummy application and service provided by this template.
156
192
  Use them as inspiration and adapt them to your own project.
157
193
 
158
194
  ## Overview
159
195
 
160
- Adding OE Python Template to your project as a dependency is easy.
196
+ Adding OE Python Template to your project as a dependency is easy. See below for usage examples.
161
197
 
162
198
  ```shell
163
199
  uv add oe-python-template # add dependency to your project
@@ -165,6 +201,7 @@ uv add oe-python-template # add dependency to your project
165
201
 
166
202
  If you don't have uv installed follow [these instructions](https://docs.astral.sh/uv/getting-started/installation/). If you still prefer pip over the modern and fast package manager [uv](https://github.com/astral-sh/uv), you can install the library like this:
167
203
 
204
+
168
205
  ```shell
169
206
  pip install oe-python-template # add dependency to your project
170
207
  ```
@@ -172,14 +209,14 @@ pip install oe-python-template # add dependency to your project
172
209
  Executing the command line interface (CLI) in an isolated Python environment is just as easy:
173
210
 
174
211
  ```shell
175
- uvx oe-python-template hello-world # prints "Hello, world! [..]"
176
- uvx oe-python-template serve # serves webservice API
177
- uvx oe-python-template serve --port=4711 # serves webservice API on port 4711
212
+ uvx oe-python-template hello-world # prints "Hello, world! [..]"
213
+ uvx oe-python-template serve # serves web API
214
+ uvx oe-python-template serve --port=4711 # serves web API on port 4711
178
215
  ```
179
216
 
180
217
  Notes:
181
218
  * The API is versioned, mounted at `/api/v1` resp. `/api/v2`
182
- * While serving the webservice API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
219
+ * While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
183
220
  * Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
184
221
 
185
222
 
@@ -206,9 +243,9 @@ This project is designed with operational excellence in mind, using modern Pytho
206
243
  * [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template) including unit and E2E tests (reported on Codecov)
207
244
  * Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
208
245
  * Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
209
- * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [GitHub Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
246
+ * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
210
247
  * [A-grade code quality](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template) in security, maintainability, and reliability with low technical debt and codesmell (verified by SonarQube)
211
- * Additional code security checks using [GitHub CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
248
+ * Additional code security checks using [CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
212
249
  * [Security Policy](SECURITY.md)
213
250
  * [License](LICENSE) compliant with the Open Source Initiative (OSI)
214
251
  * 1-liner for installation and execution of command line interface (CLI) via [uv(x)](https://github.com/astral-sh/uv) or [Docker](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
@@ -217,7 +254,7 @@ This project is designed with operational excellence in mind, using modern Pytho
217
254
 
218
255
  ## Usage Examples
219
256
 
220
- The following examples run from source. Clone this repository first using
257
+ The following examples run from source - clone this repository using
221
258
  `git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git`.
222
259
 
223
260
  ### Minimal Python Script:
@@ -42,14 +42,51 @@
42
42
 
43
43
  Copier template to scaffold Python projects compliant with best practices and modern tooling.
44
44
 
45
- Use Cases:
46
- 1) Fast and easy to use project setup
47
- 2) Consistent update of already scaffolded projects to benefit from new and improved features.
48
- 3) Dummy CLI application and service demonstrating example usage of the generated directory structure and build pipeline
49
-
50
- ## Scaffolding
51
-
52
- **Step 1**: Install uv package manager and copier
45
+ This [Copier](https://copier.readthedocs.io/en/stable/) template enables you to quickly generate a Python package with fully functioning build and test automation.
46
+ Projects generated from this template can be [easily updated](https://copier.readthedocs.io/en/stable/updating/) to benefit from improvements and new features of the template.
47
+
48
+ Features:
49
+ - Package management with [uv](https://github.com/astral-sh/uv)
50
+ - Code formatting with [Ruff](https://github.com/astral-sh/ruff)
51
+ - Linting with [Ruff](https://github.com/astral-sh/ruff)
52
+ - Static type checking with [mypy](https://mypy.readthedocs.io/en/stable/)
53
+ - Complete set of [pre-commit](https://pre-commit.com/) hooks including [detect-secrets](https://github.com/Yelp/detect-secrets) and [pygrep](https://github.com/pre-commit/pygrep-hooks)
54
+ - Unit and E2E testing with [pytest](https://docs.pytest.org/en/stable/) including parallel test execution
55
+ - Matrix testing in multiple environments with [nox](https://nox.thea.codes/en/stable/)
56
+ - Test coverage reported with [Codecov](https://codecov.io/) and published as release artifact
57
+ - CI/CD pipeline automated with [GitHub Actions](https://github.com/features/actions)
58
+ - CI/CD pipeline can be run locally with [act](https://github.com/nektos/act)
59
+ - Code quality and security checks with [SonarQube](https://www.sonarsource.com/products/sonarcloud) and [GitHub CodeQL](https://codeql.github.com/)
60
+ - Dependency monitoring with [pip-audit](https://pypi.org/project/pip-audit/), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
61
+ - Licenses of dependencies extracted with [pip-licenses](https://pypi.org/project/pip-licenses/) and published as release artefacts
62
+ - Software Bill of Materials (SBOM) generated with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) and published as release artifact
63
+ - Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
64
+ - Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
65
+ - Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and PDF export
66
+ - Documentation published to [Read The Docs](https://readthedocs.org/)
67
+ - Interactive OpenAPI specification with [Swagger](https://swagger.io/)
68
+ - Python package published to [PyPI](https://pypi.org/)
69
+ - Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
70
+ - One-click development environments with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) and [GitHub Codespaces](https://github.com/features/codespaces)
71
+
72
+ The generated project includes code, documentation and configuration of a fully functioning demo-application and service, which can be used as a starting point for your own project.
73
+ - Service architecture suitable for use as shared library
74
+ - Validation with [pydantic](https://docs.pydantic.dev/)
75
+ - Command-line interface (CLI) with [Typer](https://typer.tiangolo.com/)
76
+ - Versioned Web API with [FastAPI](https://fastapi.tiangolo.com/)
77
+ - [Interactive Jupyter notebook](https://jupyter.org/) and [reactive Marimo notebook](https://marimo.io/)
78
+ - Simple Web UI with [Streamlit](https://streamlit.io/)
79
+ - Configuration to run the CLI and API in a Docker container including setup for [Docker Compose](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-docker-compose/)
80
+ - Documentation including badges, setup instructions, contribution guide and security policy
81
+
82
+ Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example) for what's generated out of the box.
83
+
84
+ ## Generate a new project
85
+
86
+ This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
87
+ To generate a new project, follow these steps:
88
+
89
+ **Step 1**: Install uv package manager and copier. Copy the following code into your terminal and execute it.
53
90
  ```shell
54
91
  if [[ "$OSTYPE" == "darwin"* ]]; then # Install dependencies for macOS X
55
92
  if ! command -v brew &> /dev/null; then ## Install Homebrew if not present
@@ -65,38 +102,37 @@ fi
65
102
  uv tool install copier # Install copier as global tool
66
103
  ```
67
104
 
68
- **Step 2**: Now create an empty repository on GitHub, clone to your local machine, and change into it's directory.
105
+ **Step 2**: [Create an empty repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
69
106
 
70
- **Step 3**: Scaffold the project
107
+ **Step 3**: Generate the project. Copy
71
108
  ```shell
72
109
  copier copy --trust gh:helmut-hoffer-von-ankershoffen/oe-python-template .
73
110
  ```
74
111
 
75
- **Step 4**: Perform initial commit and push
112
+ **Step 4**: Perform initial commit and push. Copy the following code into your terminal and execute it.
76
113
  ```shell
77
114
  git add .
78
115
  git commit -m "feat: Initial commit"
79
116
  git push
80
117
  ```
81
118
 
82
- Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
83
- as this external service is not yet configured for our new repository.
119
+ Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
84
120
 
85
121
  **Step 5**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
86
- external services such as Cloudcov, SonarQube Cloud, Read The Docs, Docker.io, GHCR.io and Streamlit Community Cloud.
122
+ external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, and Streamlit Community Cloud.
87
123
 
88
124
  **Step 6**: Release the first versions
89
125
  ```shell
90
126
  ./n bump
91
127
  ```
92
128
  Notes:
93
- * You can remove this section post having successfully scafolded your project.
129
+ * You can remove this section post having successfully generated your project.
94
130
  * The following sections refer to the dummy application and service provided by this template.
95
131
  Use them as inspiration and adapt them to your own project.
96
132
 
97
133
  ## Overview
98
134
 
99
- Adding OE Python Template to your project as a dependency is easy.
135
+ Adding OE Python Template to your project as a dependency is easy. See below for usage examples.
100
136
 
101
137
  ```shell
102
138
  uv add oe-python-template # add dependency to your project
@@ -104,6 +140,7 @@ uv add oe-python-template # add dependency to your project
104
140
 
105
141
  If you don't have uv installed follow [these instructions](https://docs.astral.sh/uv/getting-started/installation/). If you still prefer pip over the modern and fast package manager [uv](https://github.com/astral-sh/uv), you can install the library like this:
106
142
 
143
+
107
144
  ```shell
108
145
  pip install oe-python-template # add dependency to your project
109
146
  ```
@@ -111,14 +148,14 @@ pip install oe-python-template # add dependency to your project
111
148
  Executing the command line interface (CLI) in an isolated Python environment is just as easy:
112
149
 
113
150
  ```shell
114
- uvx oe-python-template hello-world # prints "Hello, world! [..]"
115
- uvx oe-python-template serve # serves webservice API
116
- uvx oe-python-template serve --port=4711 # serves webservice API on port 4711
151
+ uvx oe-python-template hello-world # prints "Hello, world! [..]"
152
+ uvx oe-python-template serve # serves web API
153
+ uvx oe-python-template serve --port=4711 # serves web API on port 4711
117
154
  ```
118
155
 
119
156
  Notes:
120
157
  * The API is versioned, mounted at `/api/v1` resp. `/api/v2`
121
- * While serving the webservice API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
158
+ * While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
122
159
  * Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
123
160
 
124
161
 
@@ -145,9 +182,9 @@ This project is designed with operational excellence in mind, using modern Pytho
145
182
  * [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template) including unit and E2E tests (reported on Codecov)
146
183
  * Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
147
184
  * Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
148
- * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [GitHub Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
185
+ * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
149
186
  * [A-grade code quality](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template) in security, maintainability, and reliability with low technical debt and codesmell (verified by SonarQube)
150
- * Additional code security checks using [GitHub CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
187
+ * Additional code security checks using [CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
151
188
  * [Security Policy](SECURITY.md)
152
189
  * [License](LICENSE) compliant with the Open Source Initiative (OSI)
153
190
  * 1-liner for installation and execution of command line interface (CLI) via [uv(x)](https://github.com/astral-sh/uv) or [Docker](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
@@ -156,7 +193,7 @@ This project is designed with operational excellence in mind, using modern Pytho
156
193
 
157
194
  ## Usage Examples
158
195
 
159
- The following examples run from source. Clone this repository first using
196
+ The following examples run from source - clone this repository using
160
197
  `git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git`.
161
198
 
162
199
  ### Minimal Python Script:
@@ -0,0 +1,8 @@
1
+ ## [0.6.23](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.22..v0.6.23) - 2025-03-20
2
+
3
+ ### 📚 Documentation
4
+
5
+ - Refactor intro - ([7e30bd3](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/7e30bd30a516c52c729615fa516e0b493cdf0213))
6
+
7
+
8
+
@@ -0,0 +1 @@
1
+ 0.6.23
@@ -1,13 +1,50 @@
1
1
  Copier template to scaffold Python projects compliant with best practices and modern tooling.
2
2
 
3
- Use Cases:
4
- 1) Fast and easy to use project setup
5
- 2) Consistent update of already scaffolded projects to benefit from new and improved features.
6
- 3) Dummy CLI application and service demonstrating example usage of the generated directory structure and build pipeline
7
-
8
- ## Scaffolding
9
-
10
- **Step 1**: Install uv package manager and copier
3
+ This [Copier](https://copier.readthedocs.io/en/stable/) template enables you to quickly generate a Python package with fully functioning build and test automation.
4
+ Projects generated from this template can be [easily updated](https://copier.readthedocs.io/en/stable/updating/) to benefit from improvements and new features of the template.
5
+
6
+ Features:
7
+ - Package management with [uv](https://github.com/astral-sh/uv)
8
+ - Code formatting with [Ruff](https://github.com/astral-sh/ruff)
9
+ - Linting with [Ruff](https://github.com/astral-sh/ruff)
10
+ - Static type checking with [mypy](https://mypy.readthedocs.io/en/stable/)
11
+ - Complete set of [pre-commit](https://pre-commit.com/) hooks including [detect-secrets](https://github.com/Yelp/detect-secrets) and [pygrep](https://github.com/pre-commit/pygrep-hooks)
12
+ - Unit and E2E testing with [pytest](https://docs.pytest.org/en/stable/) including parallel test execution
13
+ - Matrix testing in multiple environments with [nox](https://nox.thea.codes/en/stable/)
14
+ - Test coverage reported with [Codecov](https://codecov.io/) and published as release artifact
15
+ - CI/CD pipeline automated with [GitHub Actions](https://github.com/features/actions)
16
+ - CI/CD pipeline can be run locally with [act](https://github.com/nektos/act)
17
+ - Code quality and security checks with [SonarQube](https://www.sonarsource.com/products/sonarcloud) and [GitHub CodeQL](https://codeql.github.com/)
18
+ - Dependency monitoring with [pip-audit](https://pypi.org/project/pip-audit/), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
19
+ - Licenses of dependencies extracted with [pip-licenses](https://pypi.org/project/pip-licenses/) and published as release artefacts
20
+ - Software Bill of Materials (SBOM) generated with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) and published as release artifact
21
+ - Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
22
+ - Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
23
+ - Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and PDF export
24
+ - Documentation published to [Read The Docs](https://readthedocs.org/)
25
+ - Interactive OpenAPI specification with [Swagger](https://swagger.io/)
26
+ - Python package published to [PyPI](https://pypi.org/)
27
+ - Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
28
+ - One-click development environments with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) and [GitHub Codespaces](https://github.com/features/codespaces)
29
+
30
+ The generated project includes code, documentation and configuration of a fully functioning demo-application and service, which can be used as a starting point for your own project.
31
+ - Service architecture suitable for use as shared library
32
+ - Validation with [pydantic](https://docs.pydantic.dev/)
33
+ - Command-line interface (CLI) with [Typer](https://typer.tiangolo.com/)
34
+ - Versioned Web API with [FastAPI](https://fastapi.tiangolo.com/)
35
+ - [Interactive Jupyter notebook](https://jupyter.org/) and [reactive Marimo notebook](https://marimo.io/)
36
+ - Simple Web UI with [Streamlit](https://streamlit.io/)
37
+ - Configuration to run the CLI and API in a Docker container including setup for [Docker Compose](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-docker-compose/)
38
+ - Documentation including badges, setup instructions, contribution guide and security policy
39
+
40
+ Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example) for what's generated out of the box.
41
+
42
+ ## Generate a new project
43
+
44
+ This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
45
+ To generate a new project, follow these steps:
46
+
47
+ **Step 1**: Install uv package manager and copier. Copy the following code into your terminal and execute it.
11
48
  ```shell
12
49
  if [[ "$OSTYPE" == "darwin"* ]]; then # Install dependencies for macOS X
13
50
  if ! command -v brew &> /dev/null; then ## Install Homebrew if not present
@@ -23,38 +60,37 @@ fi
23
60
  uv tool install copier # Install copier as global tool
24
61
  ```
25
62
 
26
- **Step 2**: Now create an empty repository on GitHub, clone to your local machine, and change into it's directory.
63
+ **Step 2**: [Create an empty repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
27
64
 
28
- **Step 3**: Scaffold the project
65
+ **Step 3**: Generate the project. Copy
29
66
  ```shell
30
67
  copier copy --trust gh:helmut-hoffer-von-ankershoffen/oe-python-template .
31
68
  ```
32
69
 
33
- **Step 4**: Perform initial commit and push
70
+ **Step 4**: Perform initial commit and push. Copy the following code into your terminal and execute it.
34
71
  ```shell
35
72
  git add .
36
73
  git commit -m "feat: Initial commit"
37
74
  git push
38
75
  ```
39
76
 
40
- Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
41
- as this external service is not yet configured for our new repository.
77
+ Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
42
78
 
43
79
  **Step 5**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
44
- external services such as Cloudcov, SonarQube Cloud, Read The Docs, Docker.io, GHCR.io and Streamlit Community Cloud.
80
+ external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, and Streamlit Community Cloud.
45
81
 
46
82
  **Step 6**: Release the first versions
47
83
  ```shell
48
84
  ./n bump
49
85
  ```
50
86
  Notes:
51
- * You can remove this section post having successfully scafolded your project.
87
+ * You can remove this section post having successfully generated your project.
52
88
  * The following sections refer to the dummy application and service provided by this template.
53
89
  Use them as inspiration and adapt them to your own project.
54
90
 
55
91
  ## Overview
56
92
 
57
- Adding OE Python Template to your project as a dependency is easy.
93
+ Adding OE Python Template to your project as a dependency is easy. See below for usage examples.
58
94
 
59
95
  ```shell
60
96
  uv add oe-python-template # add dependency to your project
@@ -62,6 +98,7 @@ uv add oe-python-template # add dependency to your project
62
98
 
63
99
  If you don't have uv installed follow [these instructions](https://docs.astral.sh/uv/getting-started/installation/). If you still prefer pip over the modern and fast package manager [uv](https://github.com/astral-sh/uv), you can install the library like this:
64
100
 
101
+
65
102
  ```shell
66
103
  pip install oe-python-template # add dependency to your project
67
104
  ```
@@ -69,14 +106,14 @@ pip install oe-python-template # add dependency to your project
69
106
  Executing the command line interface (CLI) in an isolated Python environment is just as easy:
70
107
 
71
108
  ```shell
72
- uvx oe-python-template hello-world # prints "Hello, world! [..]"
73
- uvx oe-python-template serve # serves webservice API
74
- uvx oe-python-template serve --port=4711 # serves webservice API on port 4711
109
+ uvx oe-python-template hello-world # prints "Hello, world! [..]"
110
+ uvx oe-python-template serve # serves web API
111
+ uvx oe-python-template serve --port=4711 # serves web API on port 4711
75
112
  ```
76
113
 
77
114
  Notes:
78
115
  * The API is versioned, mounted at `/api/v1` resp. `/api/v2`
79
- * While serving the webservice API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
116
+ * While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
80
117
  * Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
81
118
 
82
119
 
@@ -103,9 +140,9 @@ This project is designed with operational excellence in mind, using modern Pytho
103
140
  * [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template) including unit and E2E tests (reported on Codecov)
104
141
  * Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
105
142
  * Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
106
- * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [GitHub Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
143
+ * Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
107
144
  * [A-grade code quality](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template) in security, maintainability, and reliability with low technical debt and codesmell (verified by SonarQube)
108
- * Additional code security checks using [GitHub CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
145
+ * Additional code security checks using [CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
109
146
  * [Security Policy](SECURITY.md)
110
147
  * [License](LICENSE) compliant with the Open Source Initiative (OSI)
111
148
  * 1-liner for installation and execution of command line interface (CLI) via [uv(x)](https://github.com/astral-sh/uv) or [Docker](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
@@ -114,7 +151,7 @@ This project is designed with operational excellence in mind, using modern Pytho
114
151
 
115
152
  ## Usage Examples
116
153
 
117
- The following examples run from source. Clone this repository first using
154
+ The following examples run from source - clone this repository using
118
155
  `git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git`.
119
156
 
120
157
  ### Minimal Python Script:
@@ -29,7 +29,7 @@ extensions = [
29
29
  project = "oe-python-template"
30
30
  author = "Helmut Hoffer von Ankershoffen"
31
31
  copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
32
- version = "0.6.21"
32
+ version = "0.6.23"
33
33
  release = version
34
34
  github_username = "helmut-hoffer-von-ankershoffen"
35
35
  github_repository = "oe-python-template"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.6.21"
3
+ version = "0.6.23"
4
4
  description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -242,7 +242,7 @@ source = ["src/"]
242
242
 
243
243
 
244
244
  [tool.bumpversion]
245
- current_version = "0.6.21"
245
+ current_version = "0.6.23"
246
246
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
247
247
  serialize = ["{major}.{minor}.{patch}"]
248
248
  search = "{current_version}"
@@ -1,6 +1,6 @@
1
1
  sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template
2
2
  sonar.organization=helmut-hoffer-von-ankershoffen
3
- sonar.projectVersion=0.6.21
3
+ sonar.projectVersion=0.6.23
4
4
  sonar.projectDescription=🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
5
5
  sonar.links.homepage=https://oe-python-template.readthedocs.io/en/latest/
6
6
  sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
@@ -59,7 +59,7 @@ jobs:
59
59
  - name: Checkout repository
60
60
  uses: actions/checkout@v4
61
61
 
62
- # Add any setup steps before running the `github/codeql-action/init` action.
62
+ # Add any setup steps before running the `github/codeql-action/init` action.
63
63
  # This includes steps like installing compilers or runtimes (`actions/setup-node`
64
64
  # or others). This is typically only required for manual builds.
65
65
  # - name: Setup runtime (example)
@@ -95,6 +95,4 @@ jobs:
95
95
  with:
96
96
  subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
97
97
  subject-digest: ${{ steps.push.outputs.digest }}
98
- push-to-registry: true
99
- {% endraw %}
100
- {% endif %}
98
+ push-to-registry: true{% endraw %}{% endif %}