Favicon of pytermgui

pytermgui

Python TUI framework with modular widgets, mouse support, customizable markup language, and desktop-inspired window management for creating responsive terminal applications.

Create sophisticated terminal user interfaces with PyTermGUI, a comprehensive framework designed for Python 3.7+ applications. This library eliminates the complexity traditionally associated with terminal app development by providing intuitive abstractions over terminal standards.

Key capabilities include:

  • Mouse support enabled by default with zero configuration required
  • Modular widget system for building complex interfaces from simple components
  • TIM markup language for expressive, styled terminal text with custom aliases and macros
  • Window manager featuring modals, customizable windows, and desktop-inspired layouts
  • YAML and Python styling engines for flexible design and theming
  • NO_COLOR support that maintains visual contrast and usability
  • Color downgrading algorithms that adapt to terminal capabilities
  • Development utilities including inspection tools, pretty printers, and SVG/HTML screenshot generation

The framework makes terminal applications faster, more resource-efficient, and more portable than web or native alternatives. Build everything from simple displays to complex forms with InputField widgets, containers, and custom callbacks. Comprehensive documentation and examples demonstrate real-world usage patterns, from clock displays to contact forms with full styling and interaction support.

Features

Config fileScriptableTrue color

Media

Pros

4
  • Modular widget system for building terminal applications.
  • Supports mouse input without additional configuration.
  • Customizable markup language for styled terminal text.
  • Desktop-inspired window management with modals and customizable windows.

Cons

1
  • Development is shifting to a new project (Shade 40).

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to pytermgui

Favicon

 

  
 
Favicon

 

  
 
Favicon