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.3.2.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

tui_executor-0.3.2-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tui_executor-0.3.2.tar.gz
  • Upload date:
  • Size: 48.5 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.3.2.tar.gz
Algorithm Hash digest
SHA256 14cbaf1b14172725ecedb1cf3ef0f8f41d238f465d95b141edb7703b397c4f85
MD5 3a1db32e19272b84037df8d9454a2211
BLAKE2b-256 19755174303ae0854bf58e2408de1fbfaadbcf05152d108269a8abcc38f017ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tui_executor-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for tui_executor-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f0e19c8ba70dd78f978b501505f1c2e900dd058f40640d95963cb9b0f9a7e2b
MD5 49b7a8ad4d233221888b8de3318f838a
BLAKE2b-256 8bb7b1790520d469bcf8b3839fdd651d79add388c8688d31de66b7427069f7de

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