textual VS pytermgui

Compare textual vs pytermgui and see what are their differences.

textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser. (by Textualize)

pytermgui

Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more! (by bczsalba)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
textual pytermgui
149 49
23,395 2,028
1.6% -
9.9 7.4
7 days ago about 2 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

textual

Posts with mentions or reviews of textual. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.

pytermgui

Posts with mentions or reviews of pytermgui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-21.
  • Using Textual to Build a ChatGPT TUI App
    4 projects | dev.to | 21 Jul 2023
    Several libraries, such as urwid or PyTermGUI, allow the development of TUI applications in Python. For enhancing the functionality and aesthetics of TUI apps, they offer some fundamental and more sophisticated utilities. But there is one package that is truly exceptional and might even be so amazing that it sparks a TUI renaissance (I really wanted to put "TUI renaissance" somewhere in this article).
  • How difficult is ncurses?
    7 projects | /r/commandline | 17 Apr 2023
    There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
  • Any Good Recommendations for a Tutorial on PyTermGUI?
    2 projects | /r/commandline | 24 Sep 2022
    Hi. So I got bored, and now I'm making an operating system in Python. (Just something to do.) It's a good excuse to work with TUI's, though. Does anyone have a recommendation for a tutorial on PyTermGUI? I read the docs, but they're a bit daunting, and I don't really understand it. Thanks.
    2 projects | /r/commandline | 24 Sep 2022
    Talking about resources, their docs are pretty good and contains some examples too. Documentation: https://ptg.bczsalba.com/pytermgui.html
  • Ask HN: Are there any high-level TUI tools?
    4 projects | news.ycombinator.com | 2 Jun 2022
  • Menus in Python
    3 projects | /r/Python | 25 May 2022
    I suspect that the reason you didn't find much is that usually people need a whole textual user interface (or TUI). And there's quite a few libraries for those, like pytermgui or textual, and some more low-level tools in that area like prompt-toolkit
  • My TUI now automatically downgrades RGB colors to the richest palette available in your terminal!
    2 projects | /r/Python | 21 Mar 2022
    PyTermGUI, my terminal user interface library has now gained the ability to determine the highest-grade color that can be displayed in the terminal emulator it is running in, so that it can convert anything you would normally not be able to see into a color supported. This calculation is done with human perception of colors and brightness factored in, so it looks surprisingly accurate, even with only 16 colors.
  • PyTermGUI gains the ability to gracefully degrade from RGB to xterm-16color palettes!
    3 projects | /r/commandline | 21 Mar 2022
    My Python-based TUI library, PyTermGUI now has the ability to gracefully degrade any color to the current terminal emulator's capabilities, completely automatically! AFAIK it is one of the first libraries of its kind to gain this feature, as I couldn't really find any implementations of it to base mine from. (That, or I'm just not that great at Google-ing.)
  • Show HN: A modular Python TUI framework with a fast and pretty markup language
    2 projects | news.ycombinator.com | 1 Mar 2022
  • PyTermGUI is getting full in-terminal image support soon!
    2 projects | /r/Python | 26 Feb 2022
    This specific part of the code is not on GitHub at the moment as there is a lot of experimenting going on, but it will be pushed as the new APIs mature and I clean the code up.

What are some alternatives?

When comparing textual and pytermgui you can also consider the following projects:

picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.

rich - Rich is a Python library for rich text and beautiful formatting in the terminal.

python-prompt-toolkit - Library for building powerful interactive command line applications in Python

py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.

urwid - Console user interface library for Python (official repo)

asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

npyscreen - Automatically exported from code.google.com/p/npyscreen

bubbletea - A powerful little TUI framework 🏗

black - The uncompromising Python code formatter