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.1 - 2024-02-24

Additions

  • Add support for wide characters

Bugfixes

  • Fix inline widget referring to hover mouse mode

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

Uploaded Source

Built Distribution

pytermgui-7.7.1-py3-none-any.whl (190.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytermgui-7.7.1.tar.gz
Algorithm Hash digest
SHA256 030458be5c3cbeaab17fb9aa3d19e6232be4ce4a3f54418fe13bb97fdef446db
MD5 8d5ccf457d55f85224480f87d5b4bcd4
BLAKE2b-256 51a9c07054b00c647ebae17aa0926279f278e32af9d39712c81f139e197260b3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytermgui-7.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d09d2bd77164191bd60e0286414f66ca660ef6f6636f1f0f5f55dc3d3dbc6105
MD5 8ce6f55e47c3ddd6ed2188a2ab8675e4
BLAKE2b-256 183746f862eb3c0e18a2af2881cc3045fcd6c19ab2e9db0f08783f9232497cdf

See more details on using hashes here.

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