Python TUI

Open-source Python projects categorized as TUI

Top 23 Python TUI Projects

  • rich

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

    Project mention: colors.crumb - first Crumb usable. Extending Crumb with basic terminal styling and RGB, HEX, ANSI conversion functions. | /r/lisp | 2023-09-09

    colors.crumb extends Crumb with basic terminal styling functions and RGB, HEX, ANSI conversion functions. It is in the realm of JavaScript's chalk and Python's rich but slightly more functional 😉.

  • textual

    Textual is a Rapid Application Development framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and (coming soon) a web browser!

    Project mention: Ask HN: Why Did Python Win? | news.ycombinator.com | 2023-08-29

    I think it just survived naturally, filling in the cracks left by Java / C++.

    And not the era of Textual (https://textual.textualize.io/) is here, python may get the spotlight even more.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Fx – Terminal JSON Viewer | news.ycombinator.com | 2023-09-19

    [4] "Is it possible to "flatten" structured data (like JSON?)": https://github.com/saulpw/visidata/discussions/1605

  • s-tui

    Terminal-based CPU stress and monitoring utility

    Project mention: Is X1 Carbon gen 6 a decent (beginner) Linux machine? | /r/thinkpad | 2023-05-08

    There's a way of doing it via s-tui.

  • asciimatics

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

    Project mention: What is your go-to UI framework? | /r/learnpython | 2023-06-27

    For small apps, I may choose a TUI (Terminal User Interface). Curses for Python is very lightweight, but quite low level and difficult to use for anything more than a very simple interface (if your app tries to draw outside of the drawing area, the app crashes, so you have to carefully manage every detail). Textual and asciimatics are both mature TUI frameworks that provide a higher level and more Pythonic way to create TUI's.

  • frogmouth

    A Markdown browser for your terminal

    Project mention: Live markdown preview? | /r/vim | 2023-05-18

    No, since Vim uses a TUI and Markdown doesn't only display text. You could use something like Obsidian, which can display live previews of Markdown files side-by-side with the raw text and has support for a subset of Vim keybindings. Or use a terminal multiplexer like Tmux and open a split with a preview with something like Frogmouth (your preview will still be in a TUI but it would look nicer than the source file). Emacs might also have something that does what you are looking for (when combined with evil-mode if you want to preserve Vim keybindings) but I haven't looked into it.

  • pytermgui

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

    Project mention: Using Textual to Build a ChatGPT TUI App | dev.to | 2023-07-21

    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).

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • dooit

    An awesome TUI todo manager

    Project mention: On what side project you guys are working on? | /r/developersIndia | 2023-06-29
  • euporie

    Jupyter notebooks in the terminal

    Project mention: I'm building a new web browser | /r/Python | 2023-05-23

    Currently it's part of euporie-notebook, but I'm planning on splitting it out and publishing the web-browser as an independent project.

  • calcure

    Modern TUI calendar and task manager with minimal and customizable UI.

    Project mention: Recommend a calendar for Sway | /r/swaywm | 2023-03-05
  • toot

    toot - Mastodon CLI & TUI

    Project mention: Best Mastodon cli clients? | /r/linuxquestions | 2023-05-22

    I personally prefer to use Mastodon via the browser. But if I had to use a CLI client, I would probably choose https://github.com/ihabunek/toot.

  • termtyper

    A typing application to level up your fingers!

  • RecoverPy

    Interactively find and recover deleted or :point_right: overwritten :point_left: files from your terminal

    Project mention: RecoverPy 2.0.5: Recover deleted or overwritten files from your terminal | /r/coolgithubprojects | 2023-04-01
  • textual-paint

    :art: MS Paint in your terminal.

    Project mention: Textual: Rapid Application Development Framework for Python | news.ycombinator.com | 2023-08-18

    My favourite Textual demo at the moment is this one: https://github.com/1j01/textual-paint

    It's a very decent Microsoft Paint imitation that runs in your terminal!

  • picotui

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

    Project mention: This Week In Python | dev.to | 2022-10-14

    pycopy – a minimalist and memory-efficient Python dialect

  • tg

    terminal telegram client (by paul-nameless)

    Project mention: How to script telegram without using bots? | /r/Telegram | 2022-10-23
  • py_cui

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

  • topydo

    A powerful todo list application for the console, using the todo.txt format.

    Project mention: how do you keep track of notes, todo lists, links, ...? | /r/selfhosted | 2022-11-11

    I recently switched from a CLI task list (topydo) to Vikunja, and I'm liking it so far!

  • terraform-tui

    Terraform textual UI

    Project mention: Tftui – The Terraform Textual UI | news.ycombinator.com | 2023-09-07
  • cli-apps

    The largest Awesome Curated list of CLI/TUI applications with source data organized into CSV files

    Project mention: Should I switch from Ubuntu to Arch for improved Linux knowledge, security, and a lighter system? | /r/linuxquestions | 2023-05-01
  • pulsemixer

    CLI and curses mixer for PulseAudio

    Project mention: Bought a replacement for my old x230, but didn't want to go bigger. Hello X280 :) | /r/thinkpad | 2023-06-08
  • austin-tui

    The top-like text-based user interface for Austin

    Project mention: Flameshow: A Terminal Flamegraph Viewer | news.ycombinator.com | 2023-09-24

    There is a "live" flamegraph TUI that uses Austin for those interested in Python profiling https://github.com/P403n1x87/austin-tui. The data collected can be exported and then converted into pprof, and analysed further with flameshow etc...

  • castero

    TUI podcast client for the terminal

    Project mention: Ask HN: What RSS Reader do you use in 2022? | news.ycombinator.com | 2022-12-23

    Not technically for reading, but for downloading podcasts via their RSS feeds I use castero and am very happy with it. https://github.com/xgi/castero

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-24.

Python TUI related posts

Index

What are some of the best open-source TUI projects in Python? This list will help you:

Project Stars
1 rich 44,796
2 textual 21,447
3 visidata 6,815
4 s-tui 3,595
5 asciimatics 3,394
6 frogmouth 1,880
7 pytermgui 1,813
8 dooit 1,719
9 euporie 1,219
10 calcure 1,193
11 toot 1,008
12 termtyper 954
13 RecoverPy 841
14 textual-paint 791
15 picotui 764
16 tg 762
17 py_cui 707
18 topydo 694
19 terraform-tui 675
20 cli-apps 652
21 pulsemixer 633
22 austin-tui 596
23 castero 545
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com