samples-python-template
Template project, includes:
- Configuration of a python project, following the guideliness of HitChhiker's book 1
- Aggregated test reports (pytest style)
- SonarCloud static test (includes coverage results)
- Publish the package/lib in PyPI's
Publishing to PyPI
Publishing is handled by .github/workflows/publish.yml, which builds the package with Poetry and uploads it to PyPI using Trusted Publishing (OIDC) — no API token secret is stored in the repo.
To release a new version:
- Bump
versionunder[project]in pyproject.toml. - Commit and merge the version bump to
main. - Create a GitHub Release with tag
vX.Y.Zmatching thepyproject.tomlversion (e.g.v2024.1.0). Publishing the release triggers the workflow.
One-time setup (repo/PyPI admin only): on pypi.org, add a Trusted Publisher for this project
pointing at this GitHub repo, workflow file publish.yml, and environment pypi.
See the general contribution policies and guidelines for giis-uniovi at CONTRIBUTING.md.
-
Reitz, K., & Schlusser, T. (2016). The Hitchhiker's guide to Python: best practices for development. " O'Reilly Media, Inc.". ↩
Metadata
Release files for samples-python-template 2026.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| samples_python_template-2026.7.1.tar.gz | 7.3 kB | With provenance | Details for samples_python_template-2026.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| samples_python_template-2026.7.1-py3-none-any.whl | Python 3 | none | any | Details for samples_python_template-2026.7.1-py3-none-any.whl |
Total release size: 18.8 kB
Release files / samples_python_template-2026.7.1.tar.gz
| Download URL | samples_python_template-2026.7.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d19260136ac2b42a61fe63ec21ca5e7cde31131b39d7ae13d0d75f9f1c4645cb
|
|
BLAKE2b-256 checksum How to use checksums |
69346a16cc1bc6a06c1d627f8338e4028c3ae3ce7664a9a776975375bf32d859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.
Transparency logRelease files / samples_python_template-2026.7.1-py3-none-any.whl
| Download URL | samples_python_template-2026.7.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
259491bc24de3e6bccba03c4aa3b50093a7953928897a07e8575f9fa4d67bb7a
|
|
BLAKE2b-256 checksum How to use checksums |
ed6e384f9f8f8ede879a8df5851c524c1576eb875454dcd465e6e2057565d96c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.
Transparency logSecurity for samples-python-template 2026.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for samples_python_template-2026.7.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.