moulinette icon indicating copy to clipboard operation
moulinette copied to clipboard

A small Python framework meant to easily create programs with unified CLI and API.

Moulinette

Version Tests status Language grade: Python GitHub license

Moulinette is a small Python framework meant to easily create programs with unified CLI and API.

In particular, it is used as a base framework for the YunoHost project.

Issues

Overview

Moulinette allows to create a YAML "actionmaps" that describes what commands are available. Moulinette will automatically make these commands available through the CLI and Web API, and will be mapped to a python function. Moulinette also provide some general helpers, for example for logging, i18n, authentication, or common file system operations.

Translation

You can help translate Moulinette on our translation platform

Translation status

Developpers

  • You can learn how to get started with developing on YunoHost by reading this piece of documentation.
  • Specific doc for moulinette: https://moulinette.readthedocs.org
  • Run tests with:
$ pip install tox
$ tox