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. Learn more →
Top 23 Python TUI Projects
-
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!
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.
-
[4] "Is it possible to "flatten" structured data (like JSON?)": https://github.com/saulpw/visidata/discussions/1605
-
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
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.
-
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!
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.
-
-
Currently it's part of euporie-notebook, but I'm planning on splitting it out and publishing the web-browser as an independent project.
-
-
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.
-
-
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 -
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.
pycopy – a minimalist and memory-efficient Python dialect
-
-
py_cui
A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
-
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!
-
-
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 -
Project mention: Bought a replacement for my old x230, but didn't want to go bigger. Hello X280 :) | /r/thinkpad | 2023-06-08
-
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...
-
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.
Python TUI related posts
- Fx – Terminal JSON Viewer
- Instrukt: a TUI AI assistant to explore and understand any complex code base.
- Textual: Rapid Application Development Framework for Python
- Textual: Rapid Application Development Framework for Python
- Textual: Rapid Application Development Framework for Python
- Show HN: Interactive exercises for GNU grep, sed and Awk
- TUIFIManager – A file manager like a GUI
-
A note from our sponsor - Sonar
www.sonarsource.com | 25 Sep 2023
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 |