logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pytermgui - Python TUI framework with multi-feature support

Description

       Python  TUI  framework  with mouse support, modular widget system, customizable and rapid terminal markup
       language and more!

Name

pytermgui - Python TUI framework with multi-feature support

Options

       options:

              -h,--help
                     show this help message and exit

       Applications: --app Getch, Inspect, Color, Tim Launch an app.

              -g,--getch
                     Launch the Getch app.

              -t,--tim
                     Launch the TIM Playground app.

              -c,--color
                     Launch the ColorPicker app.

       Inspection: -iPATH_OR_CODE, --inspectPATH_OR_CODE Inspect an object.

              -e,--eval
                     Evaluate the expression given to `--inspect` instead of treating it as a path.

              --methods
                     Always show methods when inspecting.

              --dunder
                     Always show __dunder__ methods when inspecting.

              --private
                     Always show _private methods when inspecting.

       Utilities:

              -s,--size
                     Output the current terminal size in WxH format.

              -v,--version
                     Print version & system information.

              --palette
                     Print the default PyTermGUI color palette.

              --highlight[SYNTAX]
                     Highlight some python-like code syntax. No argument or '-' will read STDIN.

              --exec[EXEC]
                     Execute some Python code. No argument or '-' will read STDIN.

              -fFILE,--fileFILE
                     Interpret a PTG-YAML file.

              --print-only
                     When interpreting YAML, print the environment without running it interactively.

       Exporters:

              --export-svgFILE
                     Export the result of any non-interactive argument as an SVG file.

              --export-htmlFILE
                     Export the result of any non-interactive argument as an HTML file.

7.7.3+dfsg                                       08 January 2025                                    pytermgui(1)

Synopsis

ptg  [-h] [--app Getch, Inspect, Color, Tim] [-g] [-t] [-c] [-iPATH_OR_CODE] [-e] [--methods] [--dunder] [--private] [-s]
           [-v] [--palette] [--highlight [SYNTAX]] [--exec [EXEC]] [-fFILE] [--print-only] [--export-svgFILE] [--export-htmlFILE]

See Also