uggly-client
textual
Our great sponsors
uggly-client | textual | |
---|---|---|
1 | 143 | |
2 | 21,447 | |
- | 6.2% | |
0.0 | 9.9 | |
over 1 year ago | about 17 hours ago | |
Go | Python | |
- | 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.
uggly-client
-
TUI in webapp design language(CSS) and pattern(check the demo, itโs next level)
I'm actually working on this. Component based over the wire TUI system. It's in a decent alpha state but I want to code and host some more sample sites before I start sharing a ton.
Protocol: https://github.com/rendicott/uggly
Client with gif demo: https://github.com/rendicott/uggly-client
textual
-
Ask HN: Why Did Python Win?
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.
- FLaNK Stack Weekly for 21 August 2023
-
Textual: Rapid Application Development Framework for Python
Did a cursory dive through, check: https://textual.textualize.io/tutorial/ and https://github.com/Textualize/textual/blob/main/docs/example...
...what have people had success with in golang-world? Anything reasonably equivalent someone could recommend? There's a fair amount of "stuff" for TUI's in golang, the thing that's very attractive about 'textualize' is it feels very "web-browser-y" and has a nice (scrollable!) table view.
`tview` seems interesting (eg: check `brew install dbui`), but feels a bit more like _you're_ doing all the imperative `if KeyPress.A: do_something()` instead of declarative, nesting navigation, etc. (perhaps that's the difference between an "application-centric/SPA" view of "control all the things!" vs. a document centric: "add components to a page and let them flow").
Any feedback on the items in this list? https://codeberg.org/tecras/awesome-go#advanced-console-uis
-
Using Textual to Build a ChatGPT TUI App
I also highly encourage you to take a look at the Textual documentation, code examples, and Will's Twitter.
Textual is a package created by Will McGugan, the creator of the rich, extremely popular terminal text formatting library. Textual is actually built on top of rich to support all of those lovely features, add interactivity to them, and enable the creation of more complicated apps and components. When you first encounter an example of Textual app (and you can find them directly in the Textual repository), you may wonder: is it really a built-in terminal? Yes, it is.
-
What is your go-to UI framework?
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.
-
Things to do with standalone script
Try turning it into a TUI app using textual
-
Python GUIs
for Python GUIs I recommend considering a console-based GUI using the excellent Textual: https://textual.textualize.io/
this is the most modern GUI (in a console or not) framework you'll find for Python right now.
-
How to format output for a stand-alone display screen? Larger numbers, colors, redrawing the screen from the top left instead of printing a new line every time?
If you are looking for something more flexible that just printing to a terminal, take a look at Asciimatics and textual. Both are available from Pypi.
What are some alternatives?
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
urwid - Console user interface library for Python (official repo)
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
npyscreen - Automatically exported from code.google.com/p/npyscreen
bubbletea - A powerful little TUI framework ๐
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
wtpython - Automatically find solutions when your Python code encounters an issue.
jexer - Java Text User Interface. This library implements a text-based windowing system loosely reminiscent of Borland's Turbo Vision system
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.