Skip to main content

A demo for the OSS template at MeteoSwiss.

Project description

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

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

open_source_template-1.2.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_source_template-1.2.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file open_source_template-1.2.1.tar.gz.

File metadata

  • Download URL: open_source_template-1.2.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_source_template-1.2.1.tar.gz
Algorithm Hash digest
SHA256 a712fa0cdd6304e8864c484b26551c2b5126fedc9fb8425faf74224e8fa214d1
MD5 eb4f5880bd3752bc25efa699df476d8f
BLAKE2b-256 0413287bd9051e6f6c0c8271c0142e9c1e117e48a130b8e3f641cc53cb4bd2eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_source_template-1.2.1.tar.gz:

Publisher: CI_publish.yaml on MeteoSwiss/Open-Source-Template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_source_template-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for open_source_template-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 154ffa7483fe6e29c08564cee13b0f6ddd5ebe92322ce9daa76cd54a9b604388
MD5 d113112d914b0e864d8097770acf0a5d
BLAKE2b-256 87fcc839fd4846549abd37c8af9677fe05dbec05369ac1fe84e299a79f1495e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_source_template-1.2.1-py3-none-any.whl:

Publisher: CI_publish.yaml on MeteoSwiss/Open-Source-Template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page