trogon
Automatically generate a Textual TUI for your Click CLI
Decision gist · record as of 2026-08-14
Yes, if you maintain a Click CLI and want to offer users a low-friction TUI alternative. The integration is trivial (two lines), dependencies are minimal and stable, and the MIT license poses no restrictions. The aging maintenance status (681 days since last release) is a minor concern—verify compatibility with your current Click and Textual versions before relying on it for production—but the lack of known vulnerabilities and active repository suggest it remains usable.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8.1 or later; works on macOS, Windows 10/11, and Linux.
- Low friction install with only two runtime dependencies (textual and click).
- The project is in Beta status and has not been updated in 681 days, though the repository remains active and well-starred.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and proprietary projects.
last release 2024-10-02 (681 days) · last repo commit 2025-04-15 · 2,838 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 337,437 downloads/mo, #7,449 on PyPI
Alternatives
Verify before relying
pip install trogon
from trogon import tui
import click
@tui()
@click.group()
def cli():
pass
if __name__ == "__main__":
cli()- Whether Typer support mentioned in the description is fully functional or still experimental.
- Performance characteristics when applied to CLIs with very large numbers of options or subcommands.
- Whether the aging maintenance status (681 days since last release) affects compatibility with recent Click or Textual versions.
What it is and what it does
Trogon is a decorator-based tool that inspects a Click CLI application and automatically generates a Textual-based terminal user interface for it. Instead of users memorizing command syntax and options, they interact with a visual menu to discover and configure commands. The tool works by extracting the schema from your Click app—its options, switches, and help text—and rendering an interactive TUI where users can edit parameters and execute commands.
The integration is minimal: adding just two lines of code (an import and a decorator) to an existing Click application enables a new `tui` command that launches the interface. Trogon depends on textual for the UI framework and click for CLI introspection, both of which are well-maintained libraries. The package is in Beta and supports Python 3.8 through 3.12 across macOS, Windows, and Linux.
Use it for
- Make a CLI tool more discoverable for infrequent users who struggle to remember command syntax and available options.
- Provide a graphical alternative to command-line invocation for end users who prefer visual interfaces over typing.
- Reduce support burden by offering a self-documenting UI that displays all available options and help text interactively.
- Quickly prototype a TUI wrapper around an existing Click application without rewriting the underlying CLI logic.
- Enable non-technical users to run complex CLI tools by hiding command-line syntax behind a friendly menu interface.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you maintain a Click CLI and want to offer users a low-friction TUI alternative.
The integration is trivial (two lines), dependencies are minimal and stable, and the MIT license poses no restrictions. The aging maintenance status (681 days since last release) is a minor concern—verify compatibility with your current Click and Textual versions before relying on it for production—but the lack of known vulnerabilities and active repository suggest it remains usable.
Install
trogon on PyPI
Before you install
Low friction install with only two runtime dependencies (textual and click). The project is in Beta status and has not been updated in 681 days, though the repository remains active and well-starred.
Requires Python 3.8.1 or later; works on macOS, Windows 10/11, and Linux.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install trogon
from trogon import tui
import click
@tui()
@click.group()
def cli():
pass
if __name__ == "__main__":
cli()
Verify before relying
- Whether Typer support mentioned in the description is fully functional or still experimental.
- Performance characteristics when applied to CLIs with very large numbers of options or subcommands.
- Whether the aging maintenance status (681 days since last release) affects compatibility with recent Click or Textual versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0.0,>=3.8.1 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagestextualclick |
| Maintenance | Aging 681 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 337,437 / month, #7,449 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Information TechnologyIntended Audience :: Other AudienceLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: Windows :: Windows 10Operating System :: Microsoft :: Windows :: Windows 11Operating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Documentation |
Evidence: trogon-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cli to tui generator”
- trogonTrogon auto-generates a terminal user interface (TUI) for Click…
- pystylePystyle provides terminal styling utilities for adding colors, fades,…
- beaupyBeauPy provides interactive CLI elements—select, multi-select,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Documentation packages
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.
Install it if you need to parse Markdown in Python.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.
Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.
Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.
Material for MkDocs is a professional theme and extension for MkDocs that transforms Markdown documentation into a responsive, searchable static site with minimal configuration.
Install it if you need to publish Markdown-based documentation as a professional static site without writing custom HTML or CSS.
See also textual · tuipet · textual-dev · textual-serve · uipath-dev · textual-autocomplete · typer · jaraco.ui · rich-click · click-shell