oe-python-template 0.1.1__tar.gz → 0.1.2__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.
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.copier-answers.yml +1 -1
- oe_python_template-0.1.1/RELEASE_NOTES.md → oe_python_template-0.1.2/CHANGELOG.md +7 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/PKG-INFO +1 -1
- oe_python_template-0.1.1/CHANGELOG.md → oe_python_template-0.1.2/RELEASE_NOTES.md +8 -1
- oe_python_template-0.1.2/VERSION +1 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/conf.py +2 -2
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/examples/jupyter.ipynb +0 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/examples/streamlit.py +0 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/pyproject.toml +2 -2
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/sonar-project.properties +1 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/src/oe_python_template/__init__.py +2 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/src/oe_python_template/cli.py +1 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/src/oe_python_template/service.py +1 -3
- oe_python_template-0.1.1/TEMPLATE.md → oe_python_template-0.1.2/template/SERVICE_CONNECTIONS.md.jinja +14 -8
- oe_python_template-0.1.1/noxfile.py → oe_python_template-0.1.2/template/noxfile.py.jinja +1 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/tests/cli_test.py +4 -5
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/uv.lock +1 -1
- oe_python_template-0.1.1/VERSION +0 -1
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.act-env +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.act-secret +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.devcontainer/Dockerfile +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.devcontainer/devcontainer.json +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.devcontainer/onCreateCommand +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.devcontainer/postAttachCommand +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.devcontainer/postCreateCommand +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.env.example +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.github/workflows/docker-image-build-publish.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.github/workflows/package-build-publish-release.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.github/workflows/test-and-report.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.gitignore +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.pre-commit-config.yaml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.python-version +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.readthedocs.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.secrets.baseline +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.vscode/extensions.json +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/.vscode/settings.json +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/CODEOWNERS +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/CONTRIBUTING.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/Dockerfile +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/LICENSE +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/README.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/_readme_footer.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/_readme_header.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/_readme_main.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/bin/git-cliff +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/bump +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/codecov.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/compose.yaml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/copier.yml +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/Makefile +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/make.bat +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/_static/.keep +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/contributing.rst +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/index.rst +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/latexmkrc +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/main.rst +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/reference.rst +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/docs/source/release-notes.rst +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/examples/__init__.py +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/examples/script.py +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/CHANGELOG.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/LICENSE-MIT +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/README.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/_git-cliff +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/git-cliff-completions +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/git-cliff-mangen +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/github-action-run +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/latexmkrc +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/logo.png +0 -0
- /oe_python_template-0.1.1/template/noxfile.py.jinja → /oe_python_template-0.1.2/noxfile.py +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.act-env.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.act-secret.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/Dockerfile.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/devcontainer.json.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/onCreateCommand.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/postAttachCommand.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/postCreateCommand.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.env.example.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.github/workflows/docker-image-build-publish.yml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.github/workflows/test-and-report.yml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.gitignore.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.pre-commit-config.yaml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.python-version +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.readthedocs.yml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.vscode/extensions.json +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.vscode/settings.json +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/CHANGELOG.md +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/CODEOWNERS.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/CONTRIBUTING.md.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/Dockerfile.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/LICENSE.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/VERSION +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/_readme_footer.md.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/_readme_header.md.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/_readme_main.md.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/bump.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/codecov.yml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/compose.yaml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/Makefile.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/make.bat.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/_static/.keep +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/conf.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/contributing.rst.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/index.rst.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/latexmkrc.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/main.rst.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/reference.rst.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/release-notes.rst.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/examples/__init__.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/examples/jupyter.ipynb.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/examples/script.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/examples/streamlit.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/github-action-run.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/latexmkrc.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/logo.png +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/pyproject.toml.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/sonar-project.properties.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/tests/__init__.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/tests/cli_test.py.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/tests/fixtures/.keep +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/{{_copier_conf.answers_file}}.jinja +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/tests/__init__.py +0 -0
- {oe_python_template-0.1.1 → oe_python_template-0.1.2}/tests/fixtures/.keep +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/)
|
|
2
2
|
|
|
3
|
+
## [0.1.2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.1.1..0.1.2) - 2025-03-02
|
|
4
|
+
|
|
5
|
+
### 📚 Documentation
|
|
6
|
+
|
|
7
|
+
- On template - ([48bdcbe](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/48bdcbe863942bc7dd03bc8e71a50cae968c010c))
|
|
8
|
+
|
|
9
|
+
|
|
3
10
|
## [0.1.1](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.1.0..v0.1.1) - 2025-03-02
|
|
4
11
|
|
|
5
12
|
### ⚙️ Miscellaneous Tasks
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
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/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/)
|
|
2
2
|
|
|
3
|
-
## [0.1.
|
|
3
|
+
## [0.1.2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.1.1..v0.1.2) - 2025-03-02
|
|
4
|
+
|
|
5
|
+
### 📚 Documentation
|
|
6
|
+
|
|
7
|
+
- On template - ([48bdcbe](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/48bdcbe863942bc7dd03bc8e71a50cae968c010c))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.1.1](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.1.0..v0.1.1) - 2025-03-02
|
|
4
11
|
|
|
5
12
|
### ⚙️ Miscellaneous Tasks
|
|
6
13
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.2
|
|
@@ -25,7 +25,7 @@ extensions = [
|
|
|
25
25
|
project = "oe-python-template"
|
|
26
26
|
author = "Helmut Hoffer von Ankershoffen"
|
|
27
27
|
copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
|
|
28
|
-
version = "0.1.
|
|
28
|
+
version = "0.1.2"
|
|
29
29
|
release = version
|
|
30
30
|
github_username = "helmut-hoffer-von-ankershoffen"
|
|
31
31
|
github_repository = "oe-python-template"
|
|
@@ -74,7 +74,7 @@ html_static_path = ["_static"]
|
|
|
74
74
|
html_logo = "../../logo.png"
|
|
75
75
|
html_theme_options = {
|
|
76
76
|
"announcement": (
|
|
77
|
-
'<a target="_blank" href="https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template">GitHub</a> - '
|
|
77
|
+
'<a target="_blank" href="https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template">GitHub</a> - ' # noqa: E501
|
|
78
78
|
'<a target="_blank" href="https://pypi.org/project/oe-python-template">PyPI</a> - '
|
|
79
79
|
'<a target="_blank" href="https://hub.docker.com/r/helmuthva/oe-python-template/tags">Docker</a> - '
|
|
80
80
|
'<a target="_blank" href="https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template">SonarQube</a> - ' # noqa: E501
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "oe-python-template"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -189,7 +189,7 @@ source = ["src/"]
|
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
[tool.bumpversion]
|
|
192
|
-
current_version = "0.1.
|
|
192
|
+
current_version = "0.1.2"
|
|
193
193
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
194
194
|
serialize = ["{major}.{minor}.{patch}"]
|
|
195
195
|
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.1.
|
|
3
|
+
sonar.projectVersion=0.1.2
|
|
4
4
|
sonar.projectDescription=OE Python Template
|
|
5
5
|
sonar.links.homepage=https://oe-python-template.readthedocs.io
|
|
6
6
|
sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"""Service of OE Python Template."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
-
|
|
5
4
|
from dotenv import load_dotenv
|
|
6
5
|
|
|
7
6
|
load_dotenv()
|
|
8
|
-
THE_VAR = os.getenv("THE_VAR",
|
|
9
|
-
|
|
7
|
+
THE_VAR = os.getenv("THE_VAR","not defined")
|
|
10
8
|
|
|
11
9
|
class Service:
|
|
12
10
|
"""Service of OE Python Template."""
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Setup service connections
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### Reporting code coverage via CodeCov
|
|
3
|
+
## Reporting code coverage via CodeCov
|
|
6
4
|
|
|
7
5
|
1. Sign-Up at https://app.codecov.io/
|
|
8
6
|
2. Configure via https://app.codecov.io/gh/{{ github_repository_owner }}
|
|
@@ -10,7 +8,7 @@
|
|
|
10
8
|
4. Goto {{ github_repository_url_https }}/settings/secrets/actions/new and create a new repository secret called `CODECOV_TOKEN`, pasting the token from your clipboard as value
|
|
11
9
|
5. Re-run the `CI / test` GitHub job in case you tried before and it failed as Codecov was not yet wired up
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
## Analyzing code quality and security analysis via SonarQube cloud
|
|
14
12
|
|
|
15
13
|
1. Sign-Up at https://sonarcloud.io
|
|
16
14
|
2. Grant access to your new repo via https://github.com/settings/installations -> Configure
|
|
@@ -21,7 +19,15 @@
|
|
|
21
19
|
7. Goto https://sonarcloud.io/project/settings?id={{ sonarqube_key }} and select "Quality Gate" in the left menu. Select "Sonar way" as default quality gate.
|
|
22
20
|
8. Re-run the `CI / test` GitHub job in case you tried before and it failed as SonarQube was not yet wired up
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
## Generating and publishing documentation via ReadTheDocs
|
|
23
|
+
|
|
24
|
+
1. Sign-Up at https://readthed§cs.org/
|
|
25
|
+
2. Goto https://app.readthedocs.org/dashboard/import/ and search for your repo by enterin {{ github_repository_name}} in the search bar
|
|
26
|
+
3. Select the repo and click Continue, then Next.
|
|
27
|
+
4. On https://app.readthedocs.org/projects/{{ github_repository_name }}/ wait for the build of the documentation to finish
|
|
28
|
+
5. Goto https://{{ readthedocs_project_key }}.readthedocs.io/en/latest/
|
|
29
|
+
|
|
30
|
+
## Publishing package to Python Package Index (PyPI)
|
|
25
31
|
|
|
26
32
|
1. Execute `uv run build`. This will generate the build files (wheel and tar.gz) in the `dist` folder
|
|
27
33
|
2. Sign-Up at https://pypi.org/
|
|
@@ -33,7 +39,7 @@
|
|
|
33
39
|
8. Then create a new repository secret called `UV_PUBLISH_TOKEN`, pasting the token from your clipboard as value
|
|
34
40
|
9. In case your `CI / test` job passed, and you are ready to release and publish, bump the version of your project by executing `bump`. In case you tried before completing this setup script, you can as well go to {{ github_repository_url_https }}/actions/workflows/package-build-publish-release.yml, click on the failed job, and re-run.
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
## Publishing Docker images to Docker Hub (docker.io)
|
|
37
43
|
|
|
38
44
|
1. Sign-Up at https://hub.docker.com/
|
|
39
45
|
2. Click on your avatar or profile pic and copy the username belwo that into your clipboard.
|
|
@@ -42,7 +48,7 @@
|
|
|
42
48
|
5. Goto {{ github_repository_url_https }}/settings/secrets/actions/new and create a new repository secret called `DOCKER_PASSWORD`, pasting the token from your clipboard as the value
|
|
43
49
|
6. In case your `CI / test` job passed, and you are ready to release and publish, bump the version of your project by executing `bump`. In case you tried before completing this setup script, you can as well go to {{ github_repository_url_https }}/actions/workflows/package-build-publish-release.yml, click on the failed job, and re-run.
|
|
44
50
|
|
|
45
|
-
|
|
51
|
+
## Publishing Docker images to GitHub Container Registry (ghcr.io)
|
|
46
52
|
|
|
47
53
|
1. This just works, no further setup required.
|
|
48
54
|
2. Just `bump` to release and publish.
|
|
@@ -108,6 +108,6 @@ def setup_dev(session: nox.Session) -> None:
|
|
|
108
108
|
session.run("git", "add", ".", external=True)
|
|
109
109
|
try:
|
|
110
110
|
session.run("pre-commit", external=True)
|
|
111
|
-
except Exception:
|
|
111
|
+
except Exception: # noqa: BLE001
|
|
112
112
|
session.log("pre-commit run failed, continuing anyway")
|
|
113
113
|
session.run("git", "add", ".", external=True)
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"""Tests to verify the CLI functionality of OE Python Template."""
|
|
2
2
|
|
|
3
|
+
import json
|
|
4
|
+
from unittest.mock import patch
|
|
5
|
+
|
|
3
6
|
import pytest
|
|
4
7
|
from typer.testing import CliRunner
|
|
5
8
|
|
|
@@ -10,13 +13,11 @@ from oe_python_template.cli import cli
|
|
|
10
13
|
|
|
11
14
|
BUILT_WITH_LOVE = "built with love in Berlin"
|
|
12
15
|
|
|
13
|
-
|
|
14
16
|
@pytest.fixture
|
|
15
17
|
def runner() -> CliRunner:
|
|
16
18
|
"""Provide a CLI test runner fixture."""
|
|
17
19
|
return CliRunner()
|
|
18
20
|
|
|
19
|
-
|
|
20
21
|
def test_cli_built_with_love(runner) -> None:
|
|
21
22
|
"""Check epilog shown."""
|
|
22
23
|
result = runner.invoke(cli, ["--help"])
|
|
@@ -24,14 +25,12 @@ def test_cli_built_with_love(runner) -> None:
|
|
|
24
25
|
assert BUILT_WITH_LOVE in result.output
|
|
25
26
|
assert __version__ in result.output
|
|
26
27
|
|
|
27
|
-
|
|
28
28
|
def test_cli_echo(runner: CliRunner) -> None:
|
|
29
29
|
"""Check hello world printed."""
|
|
30
|
-
result = runner.invoke(cli, ["echo",
|
|
30
|
+
result = runner.invoke(cli, ["echo","4711"])
|
|
31
31
|
assert result.exit_code == 0
|
|
32
32
|
assert "4711" in result.output
|
|
33
33
|
|
|
34
|
-
|
|
35
34
|
def test_cli_hello_world(runner: CliRunner) -> None:
|
|
36
35
|
"""Check hello world printed."""
|
|
37
36
|
result = runner.invoke(cli, ["hello-world"])
|
oe_python_template-0.1.1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.1.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/_git-cliff
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/_git-cliff.ps1
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.bash
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.elv
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/git-cliff-2.7.0/completions/git-cliff.fish
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/Dockerfile.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/devcontainer.json.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/onCreateCommand.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/postAttachCommand.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.devcontainer/postCreateCommand.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/.pre-commit-config.yaml.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/contributing.rst.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/reference.rst.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/docs/source/release-notes.rst.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/sonar-project.properties.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.1.1 → oe_python_template-0.1.2}/template/{{_copier_conf.answers_file}}.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|