rich
alive-progress
Our great sponsors
rich | alive-progress | |
---|---|---|
127 | 6 | |
41,857 | 4,120 | |
1.2% | - | |
9.8 | 7.1 | |
8 days ago | about 1 month ago | |
Python | Python | |
MIT License | MIT License |
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.
alive-progress
-
I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations.
And here are some libraries that might pique your interest although they don't strictly answer your question: - tqdm for adding a progress bar on for loops (it comes with useful information like iteration per second and estimated time needed to finish) - alive_progress adds a progress bar like tqdm, but it works even with generators and while loops which I don't think tqdm does. -timebudget, with just a decorator as soon as a function is completed it prints the time taken to execute it - send2trash for sending files to the trash bin instead of permanently deleting them - keyboard for sending keyboard inputs or check if a key is pressed - mouse same as keyboard but with mouse buttons - textract for extracting text from many types of file with a single interface. It supports documents, powerpoint presentations, csv, excels, images, gifs, audio, and many more
-
A new kind of Progress Bar for Python
Humm unfortunately not yet. I didn't figure yet how to render multiple bars at the same time, with possibly very different update speeds, while still making the print hook work... There's more info here: https://github.com/rsalmei/alive-progress/issues/20#issuecomment-605832026
In the soon-to-be-released 2.0, there's a new support for *compiled animations*! They are generated up-front, and then just switch frames, which should have a negligible overhead! You can see it here: https://github.com/rsalmei/alive-progress/pull/51
I still have to write about all the 2.0 features, the largest release I'll ever do... 😅 => https://github.com/rsalmei/alive-progress/pull/51
Oh, I have much more images of the new `check()` tool in this thread: https://github.com/rsalmei/alive-progress/issues/19
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.
WindTerm - A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
notcurses - blingful character graphics/TUI library. definitely not curses.
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
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