A unix/posix terminal manipulation library for python3
Project description
Retry Terminal
Reter alternatively Terminal Retry is a pure-python, terminal manipulation library inspired by crossterm a terminal manipulation library for Rust. Reter makes it possible to write text-based interfaces. It supports all UNIX terminals hopefully windows at some point.
Install
Linux/Mac
pip install reter
Features
- Few dependencies
- Full control over writing and flushing output buffer
- Is tty
- Cursor
- Move the cursor N times (up, down, left, right)
- Move to previous / next line
- Move to column
- Set/get the cursor position
- Store the cursor position and restore to it later
- Hide/show the cursor
- Enable/disable cursor blinking (not all terminals support this feature)
- Styled output
- Foreground color (16 base colors)
- Background color (16 base colors)
- 256 (ANSI) color support
- RGB/True color support
- Text attributes like bold, italic, underscore, crossed, etc
- Terminal
- Clear (all lines, current line, from cursor down and up)
- Set/get the terminal size
- Exit current buffer
- Alternate screen
- Set terminal title
- Enable/disable line wrapping
- Event
- Input Events
- Terminal Resize Events
- Advanced key events
Documentation
Sadly there is no documentation as far as the eye can see : ( As of now reter is in a beta state, when the full version releases so will documentation!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reter-1.0.7.tar.gz
(21.4 kB
view hashes)
Built Distribution
reter-1.0.7-py2.py3-none-any.whl
(33.9 kB
view hashes)
Close
Hashes for reter-1.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526672eb2ec9a4d4f81da6eccd29a2e81ac52ecbc5f6fe45fe7a4383c093bf93 |
|
MD5 | cab5782b241c5469bfb9656c637e15ab |
|
BLAKE2b-256 | adac83fcbbfab29599b72b8685d377d716bf3a3d09fc47ba0b8414ec55dc33fd |