Skip to main content

Simple VTXXX-compatible terminal emulator.

Project description

               _
              | |
 _ __   _   _ | |_  ___
| '_ \ | | | || __|/ _ \
| |_) || |_| || |_|  __/
| .__/  \__, | \__|\___|
| |      __/ |
|_|     |___/      0.8.1

What is pyte?

It’s an in memory VTXXX-compatible terminal emulator. XXX stands for a series of video terminals, developed by DEC between 1970 and 1995. The first, and probably the most famous one, was VT100 terminal, which is now a de-facto standard for all virtual terminal emulators. pyte follows the suit.

So, why would one need a terminal emulator library?

  • To screen scrape terminal apps, for example htop or aptitude.

  • To write cross platform terminal emulators; either with a graphical (xterm, rxvt) or a web interface, like AjaxTerm.

  • To have fun, hacking on the ancient, poorly documented technologies.

Note: pyte started as a fork of vt102, which is an incomplete pure Python implementation of VT100 terminal.

Installation

If you have pip you can do the usual:

pip install pyte

Otherwise, download the source from GitHub and run:

python setup.py install

Similar projects

pyte is not alone in the weird world of terminal emulator libraries, here’s a few other options worth checking out: Termemulator, pyqonsole, webtty, AjaxTerm and of course vt102.

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

pyte-0.8.1.tar.gz (51.7 kB view details)

Uploaded Source

Built Distribution

pyte-0.8.1-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file pyte-0.8.1.tar.gz.

File metadata

  • Download URL: pyte-0.8.1.tar.gz
  • Upload date:
  • Size: 51.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pyte-0.8.1.tar.gz
Algorithm Hash digest
SHA256 b9bfd1b781759e7572a6e553c010cc93eef58a19d8d1590446d84c19b1b097b0
MD5 059f46e2ceaceaca3787b9aa9f04405b
BLAKE2b-256 9f60442cdc1cba83710770672ef61e186be8746f419a12b2c84ba36e9a96276d

See more details on using hashes here.

File details

Details for the file pyte-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: pyte-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.9

File hashes

Hashes for pyte-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d760ea9a7d455d179d9d7a4288fac3d231190b5226715f1fe8c62547bed9b9aa
MD5 cc183e2c9b9c53ddbea2b10de144609c
BLAKE2b-256 c1c8c7313e4e1849a86ff8bdbb9731fd6a32cb555feb27f33529a1cdc2c0427a

See more details on using hashes here.

Supported by

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