py_cui
pytermgui
Our great sponsors
py_cui | pytermgui | |
---|---|---|
6 | 47 | |
680 | 1,552 | |
- | - | |
0.0 | 9.6 | |
6 months ago | 26 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" 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.
py_cui
-
Fancy console
py_cui - Another curses wrapper
-
Textual: A Python Text User Interface with Rich as the Renderer
It's great to see some more competitors on the TUI front of the Python ecosystem! I recently tried multiple existing frameworks and was not particularly happy with the state.
Here are the main contenders for libraries that provide higher-level API than urwid/ncurses:
* Picotui, https://github.com/pfalcon/picotui
* Npyscreen, https://github.com/npcole/npyscreen
* py_cui, https://github.com/jwlodek/py_cui
Both Picotui and Npyscreen are relatively unmaintained / considered feature-full. py_cui seems to be in the best shape.
Fingers crossed for this project making it through, building on top of Rich gives it quite a bit of headstart. You can also sponsor @willmcgugan on Github [0].
-
I pushed my first real project !
So, when I found the different commands to get back my file and recover it, I wanted to create a clear UI to do it. Searching for a CUI library, I've stumbled upon py_cui, based on curses, it has a really easy learning curve. Easy to get it running.
-
I just pushed my real first project !
I dit it with py_cui, it's based on curses library but really easier to work with.
So, when I found the different commands to get back my file and recover it, I wanted to create a clear UI to do it. Searching for a CUI library, I've stumbled upon py_cui, based on curses, it has a really easy learning curve. Easy to get it running.
pytermgui
-
Any Good Recommendations for a Tutorial on PyTermGUI?
Hi. So I got bored, and now I'm making an operating system in Python. (Just something to do.) It's a good excuse to work with TUI's, though. Does anyone have a recommendation for a tutorial on PyTermGUI? I read the docs, but they're a bit daunting, and I don't really understand it. Thanks.
Talking about resources, their docs are pretty good and contains some examples too. Documentation: https://ptg.bczsalba.com/pytermgui.html
- Ask HN: Are there any high-level TUI tools?
-
Menus in Python
I suspect that the reason you didn't find much is that usually people need a whole textual user interface (or TUI). And there's quite a few libraries for those, like pytermgui or textual, and some more low-level tools in that area like prompt-toolkit
-
My TUI now automatically downgrades RGB colors to the richest palette available in your terminal!
PyTermGUI, my terminal user interface library has now gained the ability to determine the highest-grade color that can be displayed in the terminal emulator it is running in, so that it can convert anything you would normally not be able to see into a color supported. This calculation is done with human perception of colors and brightness factored in, so it looks surprisingly accurate, even with only 16 colors.
-
PyTermGUI gains the ability to gracefully degrade from RGB to xterm-16color palettes!
My Python-based TUI library, PyTermGUI now has the ability to gracefully degrade any color to the current terminal emulator's capabilities, completely automatically! AFAIK it is one of the first libraries of its kind to gain this feature, as I couldn't really find any implementations of it to base mine from. (That, or I'm just not that great at Google-ing.)
- Show HN: A modular Python TUI framework with a fast and pretty markup language
-
PyTermGUI is getting full in-terminal image support soon!
This specific part of the code is not on GitHub at the moment as there is a lot of experimenting going on, but it will be pushed as the new APIs mature and I clean the code up.
-
Wake up babe, PTG version 3.0.0 just dropped! Includes the new PixelMatrix classes, markup hyperlinks, a ColorPicker application and more!
For more information about this release, check out the release notes!
-
Version 2.1.0 has just been released!
To read more, see the release notes.
What are some alternatives?
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
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!
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
blessed - Blessed is an easy, practical library for making python terminal apps
npyscreen - Automatically exported from code.google.com/p/npyscreen
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
vtm - Terminal multiplexer with window manager and session sharing
urwid - Console user interface library for Python (official repo)