A demo for the OSS template at MeteoSwiss.
Project description
Open Source Template
A demo for the OSS template at MeteoSwiss.
The template can be use as an example how to configure MeteoSwiss Github projects.
It uses:
Github actions to execute the CI/CD pipelines
Github pages to host the documentation
PyPI to publish the python packages
Development Setup with Poetry
Building the Project
$ cd open-source-template
$ poetry install
Run Tests
$ poetry run pytest
Run Quality Tools
$ poetry run pylint open_source_template
$ poetry run mypy open_source_template
Generate Documentation
$ poetry run sphinx-build doc doc/_build
Then open the index.html file generated in open-source-template/doc/_build/.
Build wheels
$ poetry build
Using the Library
To install open-source-template in your project, run this command in your terminal:
$ poetry add open-source-template
You can then use the library in your project through
import open_source_template
Releasing
Adapt CHANGELOG.rst with release information
Adapt doc/_static/switcher_config.json adding the new documentation URL for the release
Create a new Release in the Github project
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_source_template-1.2.2.tar.gz.
File metadata
- Download URL: open_source_template-1.2.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7c145c555d78889b34465667a3e537f425a0a1e10a6c0481dee071a319f0dd7
|
|
| MD5 |
e593e79aa61f037baab72b5d64860e89
|
|
| BLAKE2b-256 |
0977ab71a73e29735fea9d5cab0cc1fd52435700ad6ae9b025c4e239276cd772
|
Provenance
The following attestation bundles were made for open_source_template-1.2.2.tar.gz:
Publisher:
CI_publish.yaml on MeteoSwiss/Open-Source-Template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_source_template-1.2.2.tar.gz -
Subject digest:
b7c145c555d78889b34465667a3e537f425a0a1e10a6c0481dee071a319f0dd7 - Sigstore transparency entry: 772058063
- Sigstore integration time:
-
Permalink:
MeteoSwiss/Open-Source-Template@b1bc903d951d17e283428622f0b459138598d91d -
Branch / Tag:
refs/tags/1.2.2 - Owner: https://github.com/MeteoSwiss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI_publish.yaml@b1bc903d951d17e283428622f0b459138598d91d -
Trigger Event:
push
-
Statement type:
File details
Details for the file open_source_template-1.2.2-py3-none-any.whl.
File metadata
- Download URL: open_source_template-1.2.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7800b8b1ed0eb9882d576725b4dbc1154f6aa8dcfac68487f98546b30496999
|
|
| MD5 |
0eae84bdb7a6b5851973c3acabe56a1f
|
|
| BLAKE2b-256 |
8132fac4cd97149252ad403ad905b6e85d7c2251a31bc46addddc55efdb0765f
|
Provenance
The following attestation bundles were made for open_source_template-1.2.2-py3-none-any.whl:
Publisher:
CI_publish.yaml on MeteoSwiss/Open-Source-Template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_source_template-1.2.2-py3-none-any.whl -
Subject digest:
a7800b8b1ed0eb9882d576725b4dbc1154f6aa8dcfac68487f98546b30496999 - Sigstore transparency entry: 772058064
- Sigstore integration time:
-
Permalink:
MeteoSwiss/Open-Source-Template@b1bc903d951d17e283428622f0b459138598d91d -
Branch / Tag:
refs/tags/1.2.2 - Owner: https://github.com/MeteoSwiss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI_publish.yaml@b1bc903d951d17e283428622f0b459138598d91d -
Trigger Event:
push
-
Statement type: