mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
A small Python framework meant to easily create programs with unified CLI and API.
7e2da7a897
Format Python code with Black |
||
---|---|---|
.github/workflows | ||
debian | ||
doc | ||
locales | ||
moulinette | ||
test | ||
.gitignore | ||
CONTRIBUTORS.md | ||
LICENSE | ||
pytest.ini | ||
README.md | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Moulinette
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
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