Execute Python code in an automatically generated TUI App.
Project description
TUI Executor
You ever wanted to execute your Python code from a simple TUI without the need to use a REPL or commandline? Look no further, use TUI Executor.
Installation
Install this package in your virtual environment:
$ python3 -m pip install [--upgrade] tui-executor
Documentation
You can find the documentation at https://rhuygen.github.io/tui-executor/.
Running the Demo
You can run a demo of the app with the following command:
$ python3 -m tui_executor.demo
This will start the app with a number of tasks that demonstrate the capabilities of the tui-executor
app.
Running the app with test tasks
This assumes you have cloned the git repository and navigated to the project folder. There you should do a pip install -e .
to have a working editable installation.
From the project folder, run the following command to test the app's capabilities:
$ PYTHONPATH=tests tui-executor --module-path tasks.docs
You can add more module paths as argument to the above command. This will create additional TABs for each (sub-)package in that module path.
$ PYTHONPATH=tests tui-executor --module-path tasks.docs --module-path tasks.specific --module-path tasks.shared
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tui_executor-0.3.0.tar.gz
.
File metadata
- Download URL: tui_executor-0.3.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be0832208f9a7b6fd3392c7f76f808d4384e6a8057d6bcc6fe18c325fc60079 |
|
MD5 | 52a59241e34f4f85525db0940b4bb843 |
|
BLAKE2b-256 | 570c5797530f274259947a39704c85da4753e69904f47b48673c35118c256f16 |
File details
Details for the file tui_executor-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: tui_executor-0.3.0-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac471be5c2a06fa493a437ee2bda545ee8b092b4c79b4f5e17c51c7a4d2a8641 |
|
MD5 | 9d004da7de303616b2d525c9004af309 |
|
BLAKE2b-256 | 204287317a6f925e12a6b5ef0122c2f76395357c8be0f2396d1a5ffc770fd628 |