horetu  horetu

Horetu exposes Python functions as other user interfaces. When applied to a function, horetu automatically constructs corresponding command-line interfaces, Django management commands, web interfaces, internet relay chat (IRC) bots, graphical interfaces, and configuration file parsers.

Install from PyPI.

pip3 install horetu[all]

Then check out the documentation, and demonstration, and examples.

In addition to being a very practical tool, horetu demonstrates the capabilities of function objects and the merits of following conventions. Horetu can construct powerful interfaces and detailed documentation from functions that were written with no intent of being called with horetu.