Yuio is a lightweight python library for building simple human-friendly CLIs.
Unlike bigger tools like click
or cleo
, Yuio is small, simple, has no dependencies, and relies
on standard python libraries such as logging
and argparse
.
It is ideal for things like automation scripts, utilities for CI, or any other small tools. Without dependencies, it is easy to use in places where you either don't or don't want to have access to dependency management systems. Just copy-paste its source files into your project, and be done with it.
Yuio is MyPy-friendly!
The only requirement is python >= 3.8
.
Install yuio
with pip:
pip3 install yuio
Or just copy-paste the yuio
directory to somewhere in the PYTHONPATH
of your project.
- See the example.