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

Uploaded Source

Built Distribution

tui_executor-0.4.0-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tui_executor-0.4.0.tar.gz
  • Upload date:
  • Size: 55.8 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.0.tar.gz
Algorithm Hash digest
SHA256 a12b69c9d71a2035d971ae131281a9e636f2783c989ffc35a83c1b54bf5a60d1
MD5 18974d06442225427574e93cc5a6c833
BLAKE2b-256 b6d5992b1f3fbdbec7de2a4079ed95061539aec4145fddb3f19c3613298aa5af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tui_executor-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 66.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64265b4b9dde370dcfdf573ecddea156244fe9fc271285edf78792fd9bfcbf9a
MD5 2fa432ddef661d028277b4ee5536d42d
BLAKE2b-256 a5e37389361a5e530f2d255cd3d71a5e2f211fc240f736e0fc55f6c8ad75c512

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