Skip to main content

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

Project description

title

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

pip3 install pytermgui

PyPi project Code quality

Twitter Buy Me A Coffee donate button

Why?

Mostly because terminals are cool, but creating terminal apps has historically been difficult. PyTermGUI aims to provide a simple, readable and modular way to make the app of your dreams!

Terminal apps are (often):

  • Easier to install
  • Faster & more resource efficient
  • Less prone to differences between environments (no IE7 here!)

...than their web or native counterparts.

How?

We provide a couple of things to make your life easier:

  • Sensible abstractions over most terminal standards
  • A fully fledged, desktop-inspired window manager system with modals and completely customizable windows
  • Mouse support out of the box with 0 configuration
  • YAML (or Python) based styling engines
  • TIM, our markup language for creating styled terminal text with expressive text, including systems for aliases & macros
  • A bunch of things I can't think of right now :slightly_smiling_face:

Additionally, there are a couple of neat tools to make your general Python development easier:

  • An inspection utility
  • A pretty printer for both the REPL and IPython
  • A way to create SVG and HTML screenshots of your terminal

Latest release

7.7.0 - 2023-09-06

Additions

  • Add support for using carriage returns for button submissions

Bugfixes:

  • Fix sluggish and unreliable text input caused by getch_timeout.

7.6.0 - 2023-07-25

Bugfixes

  • (temporarily) Fix hyperlinks breaking SVG exports

Removals

  • Remove (undocumented) shortening behaviour from Button

Read the full changelog here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytermgui-7.7.0.tar.gz (159.3 kB view hashes)

Uploaded Source

Built Distribution

pytermgui-7.7.0-py3-none-any.whl (190.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page