Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tui_executor-0.1.11.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

tui_executor-0.1.11-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file tui_executor-0.1.11.tar.gz.

File metadata

  • Download URL: tui_executor-0.1.11.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for tui_executor-0.1.11.tar.gz
Algorithm Hash digest
SHA256 5e639ff346f0af9134b50257cc1655a71c67e76c99ba93115d539f442dfe7a7b
MD5 24ce8210a357250460ad6eab3a417937
BLAKE2b-256 7ad1d082567f993fa4587caf4ac62807e55bf4dbda0d6088862c1b0f8ec9dd65

See more details on using hashes here.

File details

Details for the file tui_executor-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for tui_executor-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6b5a890653a135f7683657c5719344e96a4cda7ade26d826d0cac3ff889690dc
MD5 2870fdff5fafc9558f466f9cd75431e6
BLAKE2b-256 9512629414d28018d116f2da1f17f977fdcaeb629206d5c2bec08f7fba7c558e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page