runspec-tui
The runspec-console Forms view, in a terminal. Install it into a venv that
has runspec runnables, run runspec-tui,
and you get a searchable list of those runnables and a typed form for each one.
Fill the form in, press Ctrl+R, and the output streams in below it.
It's for the places the desktop console can't go: an SSH session on a server, a jump host, a container, a terminal on a locked-down machine.
pip install runspec-tui # into the venv that holds your runnables
runspec-tui
What you get
- The list — every runnable installed in the venv, grouped by package, with
its autonomy level. Type
/to search names, descriptions and command names. - The form — one field per arg, built from
runspec.tomlwith core's own inference, so it asks for exactly whatparse()will accept:- a switch for a flag, a dropdown for a choice, a checklist for a
multiplechoice, one-per-line for othermultipleargs; - path and folder fields with Tab completion and a Browse picker (F2);
ui = "date" / "datetime" / "time" / "month" / "color"hints;passwordargs masked and never shown again;- commands to pick from, with Inherited and This command sections;
- args that have a default folded into Default arguments;
- a field that
.runspec_envor an env var already supplies says from … and can be left blank.
- a switch for a flag, a dropdown for a choice, a checklist for a
- Validation before running — required fields, types, ranges, patterns and
group rules (
exactly-one, …) are checked as you'd get them fromparse(), shown under each field. - Streaming output with the exit code and time, JSON output pretty-printed,
and a Debug switch that turns on
--debugfor the run.
Keys
| Key | Does |
|---|---|
/ |
Search runnables |
Enter |
Open the highlighted runnable or command |
Tab / Shift+Tab |
Next / previous field |
Ctrl+R |
Run |
Ctrl+T |
Stop the run |
F2 |
Browse for a file or folder |
Ctrl+O |
Show or hide the output |
Ctrl+Y |
Copy the output |
Esc |
Back: out of search, then up a command |
Ctrl+P |
Command palette (themes, quit, …) |
Ctrl+Q |
Quit |
runspec-tui --all also lists runnables marked discoverable = false.
F3 opens the Schedules screen when runspec-scheduler is installed (below).
--theme NAME (or RUNSPEC_TUI_THEME) picks a Textual theme.
Schedules (F3)
When runspec-scheduler is installed in the same venv, F3 (or
runspec-tui --schedules) opens its schedules: every schedule this venv's
scheduler knows, including the ones its installed packages offer, with when
each runs next, how its last run went, and whether someone is handling a
failure. The top strip shows the backend (cron or the daemon), whether the
daemon is running and what keeps it up, the venv's time zone and its
package-schedules policy. The screen re-reads every 10 seconds; the bottom
pane shows the highlighted schedule's description, recent runs and last
output.
| Key | Does |
|---|---|
c |
I'm on it: mark a failing schedule as being handled by you (optional note) |
x |
Dealt with: say what was done (a note is required) |
u |
Release a schedule you or someone else claimed |
n |
Run it now, the way the schedule would (asks first) |
o |
Turn it on or off (an offered package schedule is turned on) |
e |
Change when it runs: every day / weekdays at a time, a cron expression, or an interval (daemon only), with an optional zone |
a |
Add a schedule: pick a runnable, fill in its form, Ctrl+R asks when |
d |
Remove it (a package schedule goes back to what its package says) |
y |
Sync crontab (cron backend) |
r |
Restart the daemon (daemon backend; asks first) |
s |
Settings: the venv's time zone, what to do with package schedules (offer / turn on / ignore), and the daemon's time limits |
b |
Switch between cron and the daemon (asks first) |
F5 |
Read it again now |
Esc |
Back to the forms |
Changes run the venv's own runspec-scheduler (and runspec history for the
notes) as the venv owner: directly when you are that account, otherwise
through sudo -n -u <owner>, so you need a passwordless sudo rule to that
account; without one the screen says so. On the cron backend each change is
followed by a crontab sync, so it takes effect at once. A schedule's arguments
are the ones you changed in the form; a password field can't be scheduled
(put it in the venv's runspec_schedules.env instead), and a schedule that
carries credentials can't have its time changed here.
How runs work
Each run goes through the same code as runspec exec, so it is recorded: a
row in the venv's runs index (or a logs-inbox file when you aren't the venv
owner) with the exit code and the tail of the output, labelled tui. The
label shows as label=tui in runspec history and in the Label column of the
runspec-console History tab (runspec 0.75.1 / runspec-console 0.352.0 and
later). To list only these runs:
runspec history list --label tui
- Secrets never reach the command line. A
passwordfield is passed asRUNSPEC_<RUNNABLE>_ARG_<NAME>in the environment, never on argv. run_asis honoured. When a runnable runs as another account (by default the venv owner), the run escalates withsudo -nthe same wayrunspec execdoes, and the values travel on stdin, not argv.- Only what you changed is sent. A field left at its default isn't passed,
so
.runspec_envand env vars still apply. - The run can't read your keyboard. Its stdin is
/dev/null; a runnable that prompts gets end-of-file.
Requirements
Python 3.10+, runspec 0.75.0+, and a terminal (it exits with a pointer to
runspec exec when stdin or stdout isn't one). It isn't a runnable itself, so
it doesn't appear in runspec local or runspec serve.
Docs: https://runspec.app/tui/
Metadata
Release files for runspec-tui 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runspec_tui-0.2.0.tar.gz | 70.6 kB | With provenance | Details for runspec_tui-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| runspec_tui-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for runspec_tui-0.2.0-py3-none-any.whl |
Total release size: 109.8 kB
Release files / runspec_tui-0.2.0.tar.gz
| Download URL | runspec_tui-0.2.0.tar.gz |
|---|---|
| Size | 70.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
392d5b22dc19a22b047eedce1b9b3cb86e5738f80a61dced9be94c6acf566dc7
|
|
BLAKE2b-256 checksum How to use checksums |
d88bfb00ddab7c2d8e5795435ac42ad2ab3f593576499c9cc5719af430ee4fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / runspec_tui-0.2.0-py3-none-any.whl
| Download URL | runspec_tui-0.2.0-py3-none-any.whl |
|---|---|
| Size | 39.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19b6b1e46b8a24991bc1964bb0713c039e8e669c944eefd05e43058a4650a732
|
|
BLAKE2b-256 checksum How to use checksums |
699a0aad73b74b2c71eefede8db7debfa5a96344844070fbb7c959c77e783d3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for runspec-tui 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for runspec_tui-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.