MeteoSwiss Python Blueprint

Cookiecutter template for a Python package.

Features

  • Write clean code following best practices like PEP 8.

  • Auto-format your code consistently with black and isort.

  • Prevent common coding mistakes with flake8 and pylint.

  • Catch type errors early with mypy.

  • Comprehensively test your code with pytest.

  • Ensure compatibility with multiple Python versions with tox.

  • Develop in a reproducible environment with venv + pip.

  • Properly package your code with setuptools.

  • Increment the package version number with bumpversion.

  • Create a documentation with sphinx

  • Get started with a basic command line interface based on click.

More Information