I believe that asciimatics is the terminal API that Python should have always had. It is a more human way to program curses and also provides a drop-in replacement API for non-curses environments - all of which can be pip installed.
In more details, it provides a single, cross-platform API for all terminals/consoles with the following features:
Coloured/styled text - including 256 colours (terminal support permitting)
Cursor positioning
Keyboard input (without blocking or echoing)
Mouse input (terminal support permitting)
Detecting and handling when the console resizes
Screen scraping
Anti-aliased ASCII line-drawing
Image to ASCII conversion - including JPEG and GIF formats
Many animation effects - e.g. sprites, particle systems, banners, etc.
It has been proven to work on Windows, Linux and OSX and supports Python versions 2 and 3.
For an idea of the sorts of things it can do, see the gallery.
It wasn't obvious to me whether this should be in the command-line tools or GUI section given that it straddles both. I'd happily be guided by your views if you feel it is worth taking.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/504
**Author:** [@peterbrittain](https://github.com/peterbrittain)
**Created:** 11/8/2015
**Status:** ✅ Merged
**Merged:** 3/20/2016
**Merged by:** [@vinta](https://github.com/vinta)
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (1)
- [`2460af8`](https://github.com/vinta/awesome-python/commit/2460af85eaae38fad6f78965a16e4b086445016f) Added asciimatics
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
I believe that [asciimatics](https://github.com/peterbrittain/asciimatics) is the terminal API that Python should have always had. It is a more human way to program curses and also provides a drop-in replacement API for non-curses environments - all of which can be `pip` installed.
In more details, it provides a single, cross-platform API for all terminals/consoles with the following features:
- Coloured/styled text - including 256 colours (terminal support permitting)
- Cursor positioning
- Keyboard input (without blocking or echoing)
- Mouse input (terminal support permitting)
- Detecting and handling when the console resizes
- Screen scraping
- Anti-aliased ASCII line-drawing
- Image to ASCII conversion - including JPEG and GIF formats
- Many animation effects - e.g. sprites, particle systems, banners, etc.
It has been proven to work on Windows, Linux and OSX and supports Python versions 2 and 3.
For an idea of the sorts of things it can do, see the [gallery](https://github.com/peterbrittain/asciimatics/wiki).
It wasn't obvious to me whether this should be in the command-line tools or GUI section given that it straddles both. I'd happily be guided by your views if you feel it is worth taking.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/504
Author: @peterbrittain
Created: 11/8/2015
Status: ✅ Merged
Merged: 3/20/2016
Merged by: @vinta
Base:
master← Head:master📝 Commits (1)
2460af8Added asciimatics📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
I believe that asciimatics is the terminal API that Python should have always had. It is a more human way to program curses and also provides a drop-in replacement API for non-curses environments - all of which can be
pipinstalled.In more details, it provides a single, cross-platform API for all terminals/consoles with the following features:
It has been proven to work on Windows, Linux and OSX and supports Python versions 2 and 3.
For an idea of the sorts of things it can do, see the gallery.
It wasn't obvious to me whether this should be in the command-line tools or GUI section given that it straddles both. I'd happily be guided by your views if you feel it is worth taking.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.