A modular Python TUI framework with a fast and pretty markup language
PyTermGUI is a highly modular framework offering most of the features one would expect from a GUI library, such as a mature and open Widget API, animations, mouse support and other goodies, right inside the terminal! The markup language is another great feature of the library, and is used by practically all elements of it. It is based on Rich's implementation, but uses a more concise and easier to humanly parse syntax, while being over 10 times faster at parsing due to a long list of optimizations. There is a full Window Manager API included as well, allowing the user to move, resize and…
In plain words
PyTermGUI is a Python framework for building terminal user interfaces with a modular widget API, animations, and mouse support. It includes a custom markup language designed to be faster and more readable than similar implementations, plus a window manager for moving and resizing interface elements. The framework exposes its internal APIs for developers who need lower-level control over terminal rendering and styling.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
PyTermGUI is a highly modular framework offering most of the features one would expect from a GUI library, such as a mature and open Widget API, animations, mouse support and other goodies, right inside the terminal! The markup language is another great feature of the library, and is used by practically all elements of it. It is based on Rich's implementation, but uses a more concise and easier to humanly parse syntax, while being over 10 times faster at parsing due to a long list of optimizations. There is a full Window Manager API included as well, allowing the user to move, resize and otherwise manipulate windows and inner contents using either their mouse of keyboard. All of the "guts" of the library are also exposed and usable from the outside within the `ansi_interface` submodule. Thank you for your time, and I hope the library may be of some use!
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2022
the whole month →- IM
Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!
Dev tools · 2022 · lessmilk.com
- IM
Life & fun · 2022 · networksfromscratch.com
- HA
Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2
Dev tools · 2022


- AG
Life & fun · 2022 · backofyourhand.com