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.
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.
You can help translate Moulinette on our translation platform
- 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