rich
notcurses
Our great sponsors
rich | notcurses | |
---|---|---|
127 | 89 | |
41,857 | 2,576 | |
1.2% | - | |
9.8 | 7.8 | |
6 days ago | 13 days ago | |
Python | C | |
MIT License | Apache License 2.0 |
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.
rich
-
tempy: render beautiful weather data to your terminal
- rich, a base rich text library with tons of raw capabilities and convenience classes/functions. `tempy` makes use of `rich` for all its rendering capabilities.
-
Ask HN: What Are You Working on This Year?
Both are python libraries written by Will McGugan, designed to bring stylized text formatting to terminals and consoles.
-
My first Python App
You should check out https://github.com/Textualize/rich to enhance your terminal outputs.
- Como desarrollar una aplicación de cmd con interfaz estática
-
My resume is boring
To keep things simple my choice fell on console output, but I knew Python has some nice libraries about formatting text in the terminal such as rich so my derived classes were refactored to implement console rendering.
-
Build Simple CLI-Based Voice Assistant with PyAudio, Speech Recognition, pyttsx3 and SerpApi
rich
-
Chatting with Will McGugan: From Side Project To Startup
Docs
Will McGugan is among the most well-known Python developers. He's the author of Rich, a library for formatting output in the terminal. It's used, among others, by pip, and has more than 40K stars on GitHub. In 2021, Will started building Textual, a TUI (text user interface) framework based on Rich. At the end of the year, he founded the company Textualize.
-
Copy large file progress
I don't know if this will work for your case, but Rich has easy progress bars. The new windows terminal uses it for loading bars for pip.
I found this code in the rich/examples folder in the Github.
notcurses
-
Forking Chrome to Render in a Terminal
It can. See, for example, Notcurses:
-
A Guide to the Terminal, Console, and Shell
For those interested in learning more about terminal emulators and character graphics, checkout Nick Black's book Hacking the Planet (with Notcurses): A Guide to TUIs and Character Graphics[1].
While the overall focus of the book is on programming with Notcurses[2], the author shares a wealth of related info and history throughout its pages. Note also that Notcurses has evolved quite a bit since the book was written, but it's still a nice resource.
-
Text UI components like “ncurses”
I've started using Notcurses and have been quite satisfied with it.
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
notcurses: https://github.com/dankamongmen/notcurses
The guy is a literal genius, I hope to forget half the stuff he knows.
Also Fabrice Bellard (ffmpeg/qemu).
-
Would it be possible to create a ascii movie player that runs entirely in the terminal?
This is more recent and useful: https://github.com/dankamongmen/notcurses/issues/1391
- Making Neovim Look More Like Doom Emacs
-
how does neovim/vim's ui work in a console?
As already said, you can print ANSI escape codes to change colors/effects. But there are also many high-level libraries to create TUIs, such as FTXUI and notcurses
-
How can I create a rogue engine from scratch without curses?
If your issue with Curses is its ancient and outdated API then you could look at NotCurses.
-
Term::Graille Pseudo-Pixel Graphics for Perl Terminal Programs
https://github.com/dankamongmen/notcurses 🌿🔥⚗️😙💨🥴 https://www.youtube.com/watch?v=dcjkezf1ARY
-
Alternative to ncurses for modern C++ (TUI)
Curses is the de facto TUI base, but there is no de facto standard C++ wrapper around curses. Google has FlatUI, FTXUI and Notcurses are popular, imtui is directly inspired by Dear ImGui. The list goes on and on, there are plenty of popular TUI libraries that all build upon Curses.
What are some alternatives?
tqdm - A Fast, Extensible Progress Bar for Python and CLI
colorama - Simple cross-platform colored terminal text in Python
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
blessed - Blessed is an easy, practical library for making python terminal apps
textual - Textual is a TUI (Text User Interface) framework for Python inspired by modern web development.
alive-progress - A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
WindTerm - A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
CUTIE - Command line User Tools for Input Easification