python-preloaded
picotui
python-preloaded | picotui | |
---|---|---|
6 | 5 | |
38 | 782 | |
- | - | |
1.6 | 0.0 | |
12 months ago | over 1 year 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.
python-preloaded
-
Recording and visualising the 20k system calls it takes to "import seaborn"
At the other extreme, checkpointing the whole process once all imports have been resolved and restoring it for every execution can be used for frequently-run tools: https://github.com/albertz/python-preloaded
-
The intersection of shadow stacks and CRIU
I would love to make more use of CRIU. E.g. I considered to use CRIU for my Python preloaded logic (https://github.com/albertz/python-preloaded). Unfortunately, at that point in time, CRIU must be used with root access, which was not an option. However, I see that the PR was merged now, so maybe it works now? (https://github.com/checkpoint-restore/criu/pull/1930)
There is also DMTCP (https://github.com/dmtcp/dmtcp/) but this might have other problems for my use case.
My solution was to use a fork server instead, which works almost equally well. There are not really much downsides with this approach. And this is actually quite simple, and also quite cross-platform (except Windows).
-
This Week In Python
python-preloaded – Bundle Python executable with preloaded modules
-
Python Preloaded
Repository: https://github.com/albertz/python-preloaded
- Python Preloaded – Bundle Python executable with preloaded modules
- python-preloaded: Bundle Python executable with preloaded modules
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
What are some alternatives?
semantic-python-overview - (subjective) overview of projects which are related both to python and semantic technologies (RDF, OWL, Reasoning, ...)
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
reptyr - Reparent a running program to a new terminal
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
criu - Checkpoint/Restore tool
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.
npyscreen - Automatically exported from code.google.com/p/npyscreen
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
micropython-ssd1327 - MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
micropython-lib - Core Python libraries ported to MicroPython
suckless-dmenu-python - A python wrapper for dmenu - a fork of https://github.com/allonhadaya/dmenu-python