termwind
rich
termwind | rich | |
---|---|---|
10 | 148 | |
2,169 | 47,088 | |
- | 0.7% | |
6.6 | 8.0 | |
20 days ago | 7 days ago | |
PHP | 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.
termwind
- Termwind: Tailwind CSS for command-line applications
- Tailwind CSS for command-line applications
- Go with PHP
- So that's why it wasn't working
-
Release-notes lets you browse Github release notes from the terminal
The app is based on Laravel Zero by u/nunomaduro, and it uses Termwind to render the release notes to console with styling and clickable links.
-
New Things Added - Laravel 9.21 Released
Introducing a fresh new look for Artisan https://github.com/laravel/framework/pull/43065 https://github.com/nunomaduro/termwind
-
How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer
Concerning styling, if you need to push the appearance of your console program a bit further, you might want to take a look at Termwind, a promising new framework described as "Tailwind CSS, but for PHP command-line applications".
-
π Termwind v1.0 Released!
This project really comes out of need after years of trying to make CLI applications look unique β styling-wise. Now, itβs easier to build unique, custom CLI designs without fighting with the console. We hope you are as excited about Termwind as we are. β github.com/nunomaduro/termwind.
-
Styling console applications based on Symfony, Laravel, CakePHP, and other frameworks using Termage!
Since this post got most of the traction while your previous did not, I do want to ask the same question again: how does this compare to Termwind ? A package that started a few weeks before yours if I'm not mistaken?
- Termage | Totally RAD and open-source terminal styling for PHP! With a fluent and incredible powerful, object-oriented interface for customizing CLI output text color, background, formatting, theming. Can be used standalone or be integrated to any PHP framework!
rich
- Rich is a Python library for rich text and beautiful formatting in the terminal
-
Neat Parallel Output in Python
There is an open issue [1] on GitHub to make it more modular and get rid of markdown and syntax highlighting but I have no hope for rich to get more minimal.
[1]: https://github.com/Textualize/rich/issues/2277
-
Ask HN: Programmers and Technologists in Scotland
I hope he doesn't mind, but the creator of Rich and Textualize is a good guy, and Scottish: https://www.willmcgugan.com/about/
https://www.textualize.io/
https://github.com/Textualize/rich
-
Python 3.12
They keep getting improved error messaging and this is one of my favorite features. But I'd love if we could get some real rich text. Idk if anyone else uses rich, but it has infected all my programs now. Not just to print with colors, but because it makes debugging so much easier. Not just print(f"{var=}") but the handler[0,1]. Color is so important to these types of things and so is formatting. Plus, the progress bars are nice and have almost completely replaced tqdm for me[2]. They're just easier and prettier.
[0] https://rich.readthedocs.io/en/stable/logging.html
[1] Try this example: https://github.com/Textualize/rich/blob/master/examples/exce...
[2] Side note: does anyone know how to get these properly working when using DDP with pytorch? I get flickering when using this and I think it is actually down to a pytorch issue and how they're handling their loggers and flushing the screen. I know pytorch doesn't want to depend on rich, but hey, pip uses rich so why shouldn't everyone?
-
colors.crumb - first Crumb usable. Extending Crumb with basic terminal styling and RGB, HEX, ANSI conversion functions.
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: Rapid Application Development Framework for Python
I am working on a new python project and one of the first things I added was https://github.com/Textualize/rich because of how easy it is to make things look good in the terminal.
-
What are you rewriting in rust?
I am not rewriting anything but I'd love to have a library like `rich` in Rust: https://github.com/textualize/rich
-
Things to do with standalone script
Add some cool-looking stuff to your output with rich.
-
I made a library for making user terminal input really really pretty!
You might consider taking inspiration from the rich module. In particular, I like how rich supports inline color theming which seems much more cumbersome in your framework, requiring the use of context managers as well as familiarity with how your framework structures color objects. Other than that though, I'm impressed!
-
coBib 4.0: a modern UI using Textualize libraries
Today I released coBib 4.0, my console bibliography manager written in Python, which now uses rich and textual to provide a cohesive and modern user experience in both its CLI and TUI.
What are some alternatives?
Laravel-Zero - A PHP framework for console artisans
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
pterm - β¨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more π It's completely configurable and 100% cross-platform compatible.
colorama - Simple cross-platform colored terminal text in Python
thermage - Thermage provides a fluent and incredibly powerful object-oriented interface for customizing CLI output text color, background, formatting, theming and more.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
collision - π₯ Collision is a beautiful error reporting tool for command-line applications
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
goodwork - Self hosted project management and collaboration tool powered by TALL stack
blessed - Blessed is an easy, practical library for making python terminal apps
CLImate - PHP's best friend for the terminal.
alive-progress - A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!