oe-python-template-example 0.2.2__tar.gz → 0.2.3__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 (96) hide show
  1. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.copier-answers.yml +1 -1
  2. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/CONTRIBUTING.md +9 -1
  3. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/PKG-INFO +2 -2
  4. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/README.md +1 -1
  5. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/SECURITY.md +1 -1
  6. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/SERVICE_CONNECTIONS.md +1 -1
  7. oe_python_template_example-0.2.3/VERSION +1 -0
  8. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/partials/README_header.md +1 -1
  9. oe_python_template_example-0.2.3/docs/source/_static/openapi_v1.yaml +14 -0
  10. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/api_v1.rst +4 -0
  11. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/api_v2.rst +4 -0
  12. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/conf.py +1 -1
  13. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/main.rst +0 -1
  14. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/n +1 -0
  15. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/noxfile.py +9 -0
  16. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/pyproject.toml +2 -2
  17. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/sonar-project.properties +1 -1
  18. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/uv.lock +1 -1
  19. oe_python_template_example-0.2.2/VERSION +0 -1
  20. oe_python_template_example-0.2.2/docs/source/_static/openapi_v1.yaml +0 -34
  21. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.act-env-public +0 -0
  22. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.devcontainer/Dockerfile +0 -0
  23. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.devcontainer/devcontainer.json +0 -0
  24. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.devcontainer/onCreateCommand +0 -0
  25. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.devcontainer/postAttachCommand +0 -0
  26. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.devcontainer/postCreateCommand +0 -0
  27. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.env.example +0 -0
  28. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/copilot-instructions.md +0 -0
  29. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/dependabot.yml +0 -0
  30. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/workflows/codeql.yml +0 -0
  31. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/workflows/docker-image-build-publish.yml +0 -0
  32. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/workflows/package-build-publish-release.yml +0 -0
  33. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.github/workflows/test-and-report.yml +0 -0
  34. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.gitignore +0 -0
  35. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.pre-commit-config.yaml +0 -0
  36. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.python-version +0 -0
  37. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.readthedocs.yml +0 -0
  38. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.secrets.baseline +0 -0
  39. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.vscode/extensions.json +0 -0
  40. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/.vscode/settings.json +0 -0
  41. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/CHANGELOG.md +0 -0
  42. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/CODEOWNERS +0 -0
  43. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/CODE_STYLE.md +0 -0
  44. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/Dockerfile +0 -0
  45. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/LICENSE +0 -0
  46. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/RELEASE_NOTES.md +0 -0
  47. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/bin/git-cliff +0 -0
  48. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/codecov.yml +0 -0
  49. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/compose.yaml +0 -0
  50. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/Makefile +0 -0
  51. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/make.bat +0 -0
  52. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/partials/README_footer.md +0 -0
  53. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/partials/README_main.md +0 -0
  54. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/.keep +0 -0
  55. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/openapi.json +0 -0
  56. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/openapi.yaml +0 -0
  57. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/openapi_v1.json +0 -0
  58. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/openapi_v2.json +0 -0
  59. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/_static/openapi_v2.yaml +0 -0
  60. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/code-style.rst +0 -0
  61. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/contributing.rst +0 -0
  62. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/index.rst +0 -0
  63. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/reference.rst +0 -0
  64. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/release-notes.rst +0 -0
  65. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/docs/source/security.rst +0 -0
  66. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/examples/__init__.py +0 -0
  67. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/examples/notebook.ipynb +0 -0
  68. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/examples/notebook.py +0 -0
  69. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/examples/script.py +0 -0
  70. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/examples/streamlit.py +0 -0
  71. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/CHANGELOG.md +0 -0
  72. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
  73. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/LICENSE-MIT +0 -0
  74. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/README.md +0 -0
  75. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/completions/_git-cliff +0 -0
  76. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
  77. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
  78. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
  79. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
  80. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/git-cliff-completions +0 -0
  81. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/git-cliff-mangen +0 -0
  82. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
  83. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
  84. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/github-action-run +0 -0
  85. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/logo.png +0 -0
  86. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/renovate.json +0 -0
  87. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/reports/.keep +0 -0
  88. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/src/oe_python_template_example/__init__.py +0 -0
  89. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/src/oe_python_template_example/api.py +0 -0
  90. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/src/oe_python_template_example/cli.py +0 -0
  91. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/src/oe_python_template_example/constants.py +0 -0
  92. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/src/oe_python_template_example/service.py +0 -0
  93. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/tests/__init__.py +0 -0
  94. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/tests/api_test.py +0 -0
  95. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/tests/cli_test.py +0 -0
  96. {oe_python_template_example-0.2.2 → oe_python_template_example-0.2.3}/tests/fixtures/.keep +0 -0
@@ -1,4 +1,4 @@
1
- _commit: v0.6.14
1
+ _commit: v0.6.15
2
2
  _src_path: gh:helmut-hoffer-von-ankershoffen/oe-python-template
3
3
  author_email: helmuthva@gmail.com
4
4
  author_github_username: helmut-hoffer-von-ankershoffen
@@ -131,12 +131,20 @@ docker run --env THE_VAR=THE_VALUE oe-python-template-example --help
131
131
 
132
132
  ### Copier
133
133
 
134
- Update scaffold from template
134
+ Update from template
135
135
 
136
136
  ```shell
137
137
  uv run nox -s update_from_template
138
138
  ```
139
139
 
140
+ ### Generate PDF manual
141
+
142
+ ```shell
143
+ brew install mactex # install MacTeX, will take a while and requires sudo
144
+ ./n docs_pdf # build latex, then generate pdf from it. Output in docs/build/latex/oe-python-template-example.pdf
145
+ ```
146
+
147
+
140
148
  ## Pull Request Guidelines
141
149
 
142
150
  - Before starting to write code read the [code style guide](CODE_STYLE.md) document for mandatory coding style
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template-example
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: 🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  Project-URL: Homepage, https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template-example.readthedocs.io/en/latest/
@@ -76,7 +76,7 @@ Description-Content-Type: text/markdown
76
76
  [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=helmut-hoffer-von-ankershoffen_oe-python-template-example&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template-example)
77
77
  [![CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/actions/workflows/codeql.yml/badge.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/code-scanning)
78
78
  [![Dependabot](https://img.shields.io/badge/dependabot-active-brightgreen?style=flat-square&logo=dependabot)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/dependabot)
79
- [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)
79
+ [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues?q=is%3Aissue%20state%3Aopen%20Dependency%20Dashboard)
80
80
  [![Coverage](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example/graph/badge.svg?token=SX34YRP30E)](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example)
81
81
  [![Ruff](https://img.shields.io/badge/style-Ruff-blue?color=D6FF65)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
82
82
  [![MyPy](https://img.shields.io/badge/mypy-checked-blue)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
@@ -15,7 +15,7 @@
15
15
  [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=helmut-hoffer-von-ankershoffen_oe-python-template-example&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template-example)
16
16
  [![CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/actions/workflows/codeql.yml/badge.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/code-scanning)
17
17
  [![Dependabot](https://img.shields.io/badge/dependabot-active-brightgreen?style=flat-square&logo=dependabot)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/dependabot)
18
- [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)
18
+ [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues?q=is%3Aissue%20state%3Aopen%20Dependency%20Dashboard)
19
19
  [![Coverage](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example/graph/badge.svg?token=SX34YRP30E)](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example)
20
20
  [![Ruff](https://img.shields.io/badge/style-Ruff-blue?color=D6FF65)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
21
21
  [![MyPy](https://img.shields.io/badge/mypy-checked-blue)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
@@ -21,7 +21,7 @@ OE Python Template Example employs several automated tools to continuously monit
21
21
  ### 1. Dependency Vulnerability Scanning
22
22
 
23
23
  - **GitHub Dependabot**: Monitors dependencies for known vulnerabilities and automatically creates pull requests to update them when security issues are found. [Dependendabot alerts](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/dependabot) published.
24
- - **Renovate Bot**: Automatically creates pull requests to update dependencies when new versions are available, with a focus on security patches. [Dependency Dashboard](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues) published.
24
+ - **Renovate Bot**: Automatically creates pull requests to update dependencies when new versions are available, with a focus on security patches. [Dependency Dashboard](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues?q=is%3Aissue%20state%3Aopen%20Dependency%20Dashboard) published.
25
25
  - **pip-audit**: Regularly scans Python dependencies for known vulnerabilities using data from the Python Advisory Database. `vulnerabilities.json` published [per release](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/releases).
26
26
 
27
27
  ### 2. Dependency Compliance
@@ -31,7 +31,7 @@
31
31
 
32
32
  1. Goto https://github.com/apps/renovate and click the "Configure" button
33
33
  2. Select the owner of your project's repository and configure "Repository access"
34
- 3. Rennovate creates a [Dependency Dashboard](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues) as an issue in your repository
34
+ 3. Rennovate creates a [Dependency Dashboard](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues?q=is%3Aissue%20state%3Aopen%20Dependency%20Dashboard) as an issue in your repository
35
35
 
36
36
  ## Publishing package to Python Package Index (pypi.org)
37
37
 
@@ -0,0 +1 @@
1
+ 0.2.3
@@ -12,7 +12,7 @@
12
12
  [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=helmut-hoffer-von-ankershoffen_oe-python-template-example&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template-example)
13
13
  [![CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/actions/workflows/codeql.yml/badge.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/code-scanning)
14
14
  [![Dependabot](https://img.shields.io/badge/dependabot-active-brightgreen?style=flat-square&logo=dependabot)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/security/dependabot)
15
- [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)
15
+ [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/issues?q=is%3Aissue%20state%3Aopen%20Dependency%20Dashboard)
16
16
  [![Coverage](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example/graph/badge.svg?token=SX34YRP30E)](https://codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example)
17
17
  [![Ruff](https://img.shields.io/badge/style-Ruff-blue?color=D6FF65)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
18
18
  [![MyPy](https://img.shields.io/badge/mypy-checked-blue)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py)
@@ -0,0 +1,14 @@
1
+ Traceback (most recent call last):
2
+ File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/bin/oe-python-template-example", line 4, in <module>
3
+ from oe_python_template_example.cli import cli
4
+ File "/Users/helmut/Code/oe-python-template-example/src/oe_python_template_example/cli.py", line 9, in <module>
5
+ import yaml
6
+ File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/yaml/__init__.py", line 8, in <module>
7
+ from .loader import *
8
+ File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/yaml/loader.py", line 8, in <module>
9
+ from .constructor import *
10
+ File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/yaml/constructor.py", line 19, in <module>
11
+ class BaseConstructor:
12
+ ...<149 lines>...
13
+ cls.yaml_multi_constructors[tag_prefix] = multi_constructor
14
+ KeyboardInterrupt
@@ -6,6 +6,10 @@ API V1
6
6
  .. swagger-plugin:: _static/openapi_v1.yaml
7
7
  :full-page:
8
8
 
9
+ .. only:: singlehtml
10
+
11
+ Visit the `Interactive API Documentation <https://oe-python-template-example.readthedocs.io/en/latest/api_v1.html>`_
12
+
9
13
  .. only:: latex
10
14
 
11
15
  Visit the `Interactive API Documentation <https://oe-python-template-example.readthedocs.io/en/latest/api_v1.html>`_
@@ -6,6 +6,10 @@ API V2
6
6
  .. swagger-plugin:: _static/openapi_v2.yaml
7
7
  :full-page:
8
8
 
9
+ .. only:: singlehtml
10
+
11
+ Visit the `Interactive API Documentation <https://oe-python-template-example.readthedocs.io/en/latest/api_v2.html>`_
12
+
9
13
  .. only:: latex
10
14
 
11
15
  Visit the `Interactive API Documentation <https://oe-python-template-example.readthedocs.io/en/latest/api_v2.html>`_
@@ -29,7 +29,7 @@ extensions = [
29
29
  project = "oe-python-template-example"
30
30
  author = "Helmut Hoffer von Ankershoffen"
31
31
  copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
32
- version = "0.2.2"
32
+ version = "0.2.3"
33
33
  release = version
34
34
  github_username = "helmut-hoffer-von-ankershoffen"
35
35
  github_repository = "oe-python-template-example"
@@ -1,2 +1 @@
1
1
  .. mdinclude:: ../partials/README_main.md
2
- :start-line: 0
@@ -16,6 +16,7 @@ echo "Usage: ./n <session_name> [additional_args]"
16
16
  echo " ./n bump minor"
17
17
  echo " ./n bump major"
18
18
  echo " ./n bump x.y.z"
19
+ echo " ./n docs_pdf"
19
20
  exit 1
20
21
  fi
21
22
 
@@ -78,6 +78,15 @@ def docs(session: nox.Session) -> None:
78
78
  # Build docs
79
79
  session.run("make", "-C", "docs", "clean", external=True)
80
80
  session.run("make", "-C", "docs", "html", external=True)
81
+ session.run("make", "-C", "docs", "singlehtml", external=True)
82
+ session.run("make", "-C", "docs", "latex", external=True)
83
+
84
+
85
+ @nox.session(python=["3.13"], default=False)
86
+ def docs_pdf(session: nox.Session) -> None:
87
+ """Setup dev environment post project creation."""
88
+ _setup_venv(session)
89
+ session.run("make", "-C", "docs", "latexpdf", external=True)
81
90
 
82
91
 
83
92
  @nox.session(python=["3.13"])
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template-example"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template)."
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.2.2"
245
+ current_version = "0.2.3"
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-example
2
2
  sonar.organization=helmut-hoffer-von-ankershoffen
3
- sonar.projectVersion=0.2.2
3
+ sonar.projectVersion=0.2.3
4
4
  sonar.projectDescription=🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  sonar.links.homepage=https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example
@@ -2075,7 +2075,7 @@ wheels = [
2075
2075
 
2076
2076
  [[package]]
2077
2077
  name = "oe-python-template-example"
2078
- version = "0.2.2"
2078
+ version = "0.2.3"
2079
2079
  source = { editable = "." }
2080
2080
  dependencies = [
2081
2081
  { name = "fastapi", extra = ["all", "standard"] },
@@ -1 +0,0 @@
1
- 0.2.2
@@ -1,34 +0,0 @@
1
- Traceback (most recent call last):
2
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/bin/oe-python-template-example", line 4, in <module>
3
- from oe_python_template_example.cli import cli
4
- File "/Users/helmut/Code/oe-python-template-example/src/oe_python_template_example/cli.py", line 13, in <module>
5
- from oe_python_template_example.api import api_v1, api_v2
6
- File "/Users/helmut/Code/oe-python-template-example/src/oe_python_template_example/api.py", line 16, in <module>
7
- from fastapi import Depends, FastAPI, Response, status
8
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/__init__.py", line 7, in <module>
9
- from .applications import FastAPI as FastAPI
10
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/applications.py", line 16, in <module>
11
- from fastapi import routing
12
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/routing.py", line 34, in <module>
13
- from fastapi.dependencies.models import Dependant
14
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/dependencies/models.py", line 5, in <module>
15
- from fastapi.security.base import SecurityBase
16
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/security/__init__.py", line 1, in <module>
17
- from .api_key import APIKeyCookie as APIKeyCookie
18
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/security/api_key.py", line 6, in <module>
19
- from starlette.requests import Request
20
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/starlette/requests.py", line 12, in <module>
21
- from starlette.formparsers import FormParser, MultiPartException, MultiPartParser
22
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/starlette/formparsers.py", line 17, in <module>
23
- import python_multipart as multipart
24
- File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/python_multipart/__init__.py", line 7, in <module>
25
- from .multipart import (
26
- ...<7 lines>...
27
- )
28
- File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
29
- File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
30
- File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
31
- File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
32
- File "<frozen importlib._bootstrap_external>", line 1155, in get_code
33
- File "<frozen importlib._bootstrap_external>", line 784, in _compile_bytecode
34
- KeyboardInterrupt