Automated run-time generation of user interfaces from Python functions - command-line-args, CLI, python-interactive, python-scripted, graphical (Qt GUI)
pip install intermake==1.0.0.77
Automated application frontend.
example/__init__.py:
from intermake import Application app = Application( "Example" ) @app.command() def say_hello(times : int): print("hello " * times)
example/__main__.py:
import example example.app.start()
Usage:
β example say_hello 2 β hello hello β example gui β welcome to Example's graphical user interface β *click say hello* *set times = 2* β *message box: hello hello* β *click x* β example pyi β welcome to Example's python interactive shell β say_hello(2) β hello hello β exit() β example cli β welcome to Example's command line interactive β say_hello 2 β hello hello β exit β python β import example β example.say_hello(2) β hello hello β exit()
Attention!
Full documentation can be found `here<http://software.rusilowicz.com/intermake>`_.
Contents
Intermake is a library that automatically provides multiple front-ends a Python application. Once an application is registered with Intermake, the following interfaces are provided:
It is used by:
Intermake aims to be reflective, requiring minimal setup to expose Python functions through an applications command line.
Intermake is licensed under the [GNU AGPLv3](https://www.gnu.org/licenses/agpl-3.0.html).