ASCII-Vision
asciimatics
ASCII-Vision | asciimatics | |
---|---|---|
2 | 17 | |
32 | 3,530 | |
- | - | |
0.0 | 7.6 | |
about 2 years ago | 10 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
ASCII-Vision
-
Real Time Color ASCII Rendering in Python using NumPy Vectorization
I've always wanted to make an ASCII renderer, but the drawing functions from pillow for writing characters were always too slow to get close to real time. I set out to see if this could be vectorized and this is what I came up with. I also made a video about the algorithm: https://youtu.be/SzqKClkCi_0, and made a repo showcasing the algorithm working on a webcam: https://github.com/AlexEidt/ASCII-Vision.
Webcam Demo: https://github.com/AlexEidt/ASCII-Vision
asciimatics
-
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.
-
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.
-
I'm making a notes app and am up to making an 'edit' feature, but have no way of making changes to a file's contents, let alone saving the changes and writing them to the file
Scroll down to the TUI example in the README, just above the documentation link: https://github.com/peterbrittain/asciimatics
-
Fireworks-Animated Ascii Art 🎆🎇
Download fireworks.py
-
Fireworks-Animated Ascii Art
Source code: https://github.com/peterbrittain/asciimatics/blob/master/samples/fireworks.py
-
ShyySH: a TUI connection manager for SSH
I have made yet another ssh connection manager with TUI, using asciimatics and tinyDB.
-
Best library for TUI (Text User Interface) and CLI (Command line Interface)
Personally I dig the aesthetics of asciimatics, it's quite handy and cross-platform.
-
CLI Tools on windows [Python]
I've used asciimatics in the past to good effect.
-
Making ascii “animation” look smoother.
Take a look at rich (kinda new, but pretty neat), asciimatics, or urwid
- Explaining Code Using ASCII Art
What are some alternatives?
ASCII-Video - Real time ASCII Image/Video Renderer.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
colorama - Simple cross-platform colored terminal text in Python
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.
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
npyscreen - Automatically exported from code.google.com/p/npyscreen
click - Python composable command line interface toolkit
asynccli - A CLI framework based on asyncio
plumbum - Plumbum: Shell Combinators
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.