Skip to main content

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


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.8.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reter-1.0.8-py2.py3-none-any.whl (33.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file reter-1.0.8.tar.gz.

File metadata

  • Download URL: reter-1.0.8.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for reter-1.0.8.tar.gz
Algorithm Hash digest
SHA256 36c6e8705dbe3aa8af208cc96511384dc6ab4ddf4cdbe09295772eaf2791ec59
MD5 46ac8cfa1fad3a6e3b50f78fcb91b503
BLAKE2b-256 2da0bebed95acc360ca9b827e64ded1dd8d6fbb2de0e89caeb13e05d383e0b36

See more details on using hashes here.

File details

Details for the file reter-1.0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: reter-1.0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for reter-1.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2358a084cf3d8ce5b9022d316040337e1fb8b59fc98488e32e32bd12d4493fb
MD5 9fb45f3ebf4c27b00f87d124586ce587
BLAKE2b-256 75b19e8ac849277f669db72ab0a37bb4bc14e097975115010416a2a996e012e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page