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

Notice

A much better, more complete version of PTG's core ideas now exists over at Shade 40. While PTG is not yet fully obsolete, those libraries will be the primary focus of development going forward.


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.3 - 2024-12-29

Bugfixes

  • Fix getch mapping for Windows keys

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.4.tar.gz (156.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytermgui-7.7.4-py3-none-any.whl (186.9 kB view details)

Uploaded Python 3

File details

Details for the file pytermgui-7.7.4.tar.gz.

File metadata

  • Download URL: pytermgui-7.7.4.tar.gz
  • Upload date:
  • Size: 156.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for pytermgui-7.7.4.tar.gz
Algorithm Hash digest
SHA256 f29598693ee299192f50be648933d65820e4b9a6e258007fd4bf898e3eb6c47d
MD5 80bed2b75a5919934ba18b4615f484f1
BLAKE2b-256 f740e4e3954b617947f269164d8e58dee285ea904515da5ffa0098b35fa89dd4

See more details on using hashes here.

File details

Details for the file pytermgui-7.7.4-py3-none-any.whl.

File metadata

  • Download URL: pytermgui-7.7.4-py3-none-any.whl
  • Upload date:
  • Size: 186.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for pytermgui-7.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5f25a38f4886ee8e6e6a35c114a89101efc061bcb91ea7ba61c256ba1f163111
MD5 8a00391e5204c13dedf41ac3a71cf4d2
BLAKE2b-256 318859b166f9b7627de9f4eafa40cc5bc10e5e7ecae1943cc30439cc0d44fddf

See more details on using hashes here.

Supported by

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