Skip to main content
https://img.shields.io/pypi/v/Open-Source-Template.svg https://img.shields.io/pypi/pyversions/Open-Source-Template.svg https://img.shields.io/pypi/l/Open-Source-Template.svg https://github.com/MeteoSwiss/Open-Source-Template/actions/workflows/github-code-scanning/codeql/badge.svg https://github.com/MeteoSwiss/Open-Source-Template/actions/workflows/CI_test.yaml/badge.svg https://github.com/MeteoSwiss/Open-Source-Template/actions/workflows/CI_publish_dev_documentation.yaml/badge.svg

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

Metadata

Release files for open-source-template 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-source-template 1.2.2
File Size Uploaded
open_source_template-1.2.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for open-source-template 1.2.2
File Interpreter ABI Platform
open_source_template-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / open_source_template-1.2.2.tar.gz

Download URL open_source_template-1.2.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c145c555d78889b34465667a3e537f425a0a1e10a6c0481dee071a319f0dd7
BLAKE2b-256 checksum
How to use checksums
0977ab71a73e29735fea9d5cab0cc1fd52435700ad6ae9b025c4e239276cd772
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 19, 2025.

Transparency log

Release files / open_source_template-1.2.2-py3-none-any.whl

Download URL open_source_template-1.2.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7800b8b1ed0eb9882d576725b4dbc1154f6aa8dcfac68487f98546b30496999
BLAKE2b-256 checksum
How to use checksums
8132fac4cd97149252ad403ad905b6e85d7c2251a31bc46addddc55efdb0765f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 19, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page