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

Uploaded Source

Built Distribution

tui_executor-0.4.1-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tui_executor-0.4.1.tar.gz
  • Upload date:
  • Size: 56.0 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.4.1.tar.gz
Algorithm Hash digest
SHA256 3fd6f38ba543bef5b87ab6a4aca86500d7481d7796e3fbee95020fa35644a2b2
MD5 3bcc967b2b71b99d7bc806cd82ef7192
BLAKE2b-256 b09ee4f6859437fb34f036736a3c94eb337a26c19abaad71f56a0ff88d67f2da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tui_executor-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 66.7 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21ddc1240a43b6ed5dd0c0b6f2126f35f4061bd8faf2693be19d38b3e2f67e68
MD5 9ab5151243174c59c427ac6f2605b923
BLAKE2b-256 4070cc20031103e77dc88c23c8644671d81cfabec41ac5d19b392673224ffd43

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