picotui
pycopy
Our great sponsors
picotui | pycopy | |
---|---|---|
5 | 14 | |
782 | 788 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 3 months ago | |
Python | C | |
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.
picotui
-
This Week In Python
pycopy – a minimalist and memory-efficient Python dialect
- I'm making a text based adventure for a college project, but can't figure out the main menu.
- Is there a way to check if there is any input waiting on the stdin buffer?
-
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].
[0]: https://github.com/sponsors/willmcgugan
-
Command line application
test - use a TUI if you don't want line based, like picotui
pycopy
- Pycopy: Minimalist and memory-efficient Python dialect
-
Pycopy 3.5.4 - a minimalist and memory-efficient Python dialect
Oh, so you're interested to get 100 tomes of technical drawings for SpaceX? You may be out of luck with it, but with any open-source project you're in luck - source to answer all of your questions is right there ;-). https://github.com/pfalcon/pycopy in this case. There's also the testsuite which formally specifies everything Pycopy can do (coverage 97%): https://github.com/pfalcon/pycopy/tree/master/tests . Finally, the docs include the section on specific differences with CPython3.4: https://pycopy.readthedocs.io/en/latest/differences/index.html (but that's human-written, so definitely not complete). By the way, docs are 381 pages rendered as a PDF: https://pycopy.readthedocs.io/_/downloads/en/latest/pdf/ .
-
Pycopy 3.5.2 - a minimalist and memory-efficient Python dialect
Really? Here's direct link to the closest subsection header: https://github.com/pfalcon/pycopy/#the-unix-version , and quoting it here for you:
-
Inline caching
Well, here it is: https://github.com/pfalcon/pycopy/blob/master/py/vm.c#L367
- Pycopy 3.5.0 - a minimalist and memory-efficient Python dialect for human-scale computing
-
Pycopy 3.5.0 - a minimalist and memory-efficient Python dialect
https://github.com/pfalcon/pycopy/tree/v3.5.0 (if you prefer to drop people into the code, since the release URL does not contain release notes)
What are some alternatives?
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
micropython-lib - Core Python libraries ported to MicroPython
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
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.
micropython-raspberrypi - bare metal Raspberry Pi Zero / Zero W port of MicroPython
npyscreen - Automatically exported from code.google.com/p/npyscreen
emlearn-micropython - Efficient Machine Learning engine for MicroPython
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
pycopy-lib - Standard library of the Pycopy project, minimalist and light-weight Python language implementation
micropython-ssd1327 - MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
uzlib - Radically unbloated DEFLATE/zlib/gzip compression/decompression library. Can decompress any gzip/zlib data, and offers simplified compressor which produces gzip-compatible output, while requiring much less resources (and providing less compression ratio of course).