pytermgui(1)
π pytermgui β the manual page, but make it cute π
okay so bestie, you've found yourself at the pytermgui page of the manual β it's pytermgui(1), and honestly? it's giving main character energy. Sit down, grab a strawberry π, and let me tell you everything.
β¨ NAME β¨
pytermgui β a Python TUI framework with multi-feature support π¦
β¨ SYNOPSIS β¨
ptg [-h] [--app Getch, Inspect, Color, Tim] [-g] [-t] [-c] [-i PATH_OR_CODE] [-e] [--methods] [--dunder] [--private] [-s]
[-v] [--palette] [--highlight [SYNTAX]] [--exec [EXEC]] [-f FILE] [--print-only] [--export-svg FILE] [--export-html FILE]
β¨ DESCRIPTION β¨
It's a Python TUI framework with mouse support, a modular widget system, a customizable and rapid terminal markup language, and more! π Like, literally all of it. No cap. π
β¨ OPTIONS β¨
πΈ options:
-h,--helpβ shows you this help message and then dips. π«Ά
π Applications:
--app Getch, Inspect, Color, Tim β launches an app, bestie. Pick your fighter. π
-g,--getchβ launches the Getch app. β¨-t,--timβ launches the TIM Playground app. π-c,--colorβ launches the ColorPicker app. π
π Inspection:
-i PATH_OR_CODE, --inspect PATH_OR_CODE β inspects an object. π Like, we're looking at it. Closely.
-e,--evalβ evaluates the expression you handed to--inspectinstead of treating it as a path. π₯--methodsβ always shows methods when inspecting. periodt.--dunderβ always shows__dunder__methods when inspecting. π--privateβ always shows_privatemethods when inspecting. π
π οΈ Utilities:
-s,--sizeβ outputs the current terminal size inWxHformat. π-v,--versionβ prints version & system information. β--paletteβ prints the default PyTermGUI color palette. π¨--highlight [SYNTAX]β highlights some python-like code syntax. No argument, or-, will read STDIN. π¦--exec [EXEC]β executes some Python code. No argument, or-, will read STDIN. π₯-f FILE,--file FILEβ interprets a PTG-YAML file. π--print-onlyβ when interpreting YAML, prints the environment without running it interactively. π
π¦ Exporters:
--export-svg FILEβ exports the result of any non-interactive argument as an SVG file. π--export-html FILEβ exports the result of any non-interactive argument as an HTML file. π
ngl bestie, the exporters only do their thing for non-interactive arguments β so don't expect an SVG of your whole live playground session, okay? π«Ά
and that's the whole page, no notes. This was pytermgui version 7.7.3+dfsg, dated 08 January 2025, and it's pytermgui(1) β ily, go build something iconic with it π
β¨π
π¦ where this page comes from
- debian trixie: pytermgui 7.7.3+dfsg-1 Β· MIT
- ubuntu resolute: pytermgui 7.7.3+dfsg-1 Β· MIT
- ubuntu stonking: pytermgui 7.7.3+dfsg-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms