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
$ cd open-source-template
$ poetry install$ poetry run pytest$ poetry run pylint open_source_template
$ poetry run mypy open_source_template$ poetry run sphinx-build doc doc/_buildThen open the index.html file generated in open-source-template/doc/_build/.
$ poetry buildTo install open-source-template in your project, run this command in your terminal:
$ poetry add open-source-templateYou can then use the library in your project through
import open_source_template