5 Best Python TUI Libraries for Building Text-Based User Interfaces

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. rich

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

    2.Rich Rich Rich is a modern Python library designed for rich text and beautiful formatting in the terminal. While Rich is often used for rendering formatted logs or terminal output, it also includes a TUI toolkit for building full-fledged interactive applications.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. textual

    Lean TUI application framework for Python. Build sophisticated terminal user interfaces with a simple Python API. Run your apps in the terminal and a web browser.

    3.Textual Textual Textual is a modern, async-powered TUI library built on top of Rich.Textual adds interactivity to Rich with an API inspired by modern web development.

  4. pytermgui

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

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

  5. asciimatics

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

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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Bagels – TUI Expense Tracker

    11 projects | news.ycombinator.com | 26 Jan 2025
  • The Modern CLI Renaissance

    10 projects | news.ycombinator.com | 10 Sep 2024
  • Show HN: Posting v1 – The modern HTTP client that lives in your terminal

    8 projects | news.ycombinator.com | 10 Jul 2024
  • Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

    57 projects | news.ycombinator.com | 6 May 2024
  • Using the Curses library on Windows - Terminal Display & Keys Input

    1 project | /r/learnpython | 7 Dec 2023

Did you know that Python is
the 2nd most popular programming language
based on number of references?