backend
asciimatics
backend | asciimatics | |
---|---|---|
1 | 17 | |
13 | 3,530 | |
- | - | |
8.5 | 7.6 | |
6 days ago | 14 days ago | |
Python | Python | |
GNU Affero General Public License v3.0 | 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.
backend
-
Explaining Code Using ASCII Art
Shameless appeal for code commentary review:
This reminds me of a code comment I wrote about some web crawling code that is intended to maintain a continuous web address "flow graph", matching any origin URL(s) (the 'water table' of a web page) down to the current location of that page on the web (the 'river delta').
This can be complicated because old URLs may be redirected (HTTP 301, 302) to different locations over time, often for SEO reasons or due to change of domain ownership.
Does the code comment linked below make sense? I'd really appreciate any feedback and improvements:
https://github.com/openculinary/backend/blob/5116c4f5d39dae1...
(and yes, I realize the ASCII art here pales in comparison to some of the visually appealing and clear diagrams shared in the article. I'm doing my best :))
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?
ditaa - ditaa is a small command-line utility that can convert diagrams drawn using ascii art ('drawings' that contain characters that resemble lines like | / - ), into proper bitmap graphics.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
draw - Draw in your terminal
colorama - Simple cross-platform colored terminal text in Python
wtf-tui - Text-based UI tool for configuring the WTF terminal dashboard
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.
asciiflow - ASCIIFlow
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
lookatme - An interactive, terminal-based markdown presenter
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
slidev - Presentation Slides for Developers
npyscreen - Automatically exported from code.google.com/p/npyscreen