Skip to main content

Simple VTXXX-compatible terminal emulator.

Project description

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

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

Uploaded Source

Built Distribution

pyte-0.8.0-py2.py3-none-any.whl (31.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pyte-0.8.0.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyte-0.8.0.tar.gz
Algorithm Hash digest
SHA256 7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5
MD5 1a83df3a208430b772c0ead179a8b022
BLAKE2b-256 66376fed89b484c8012a0343117f085c92df8447a18af4966d25599861cd5aa0

See more details on using hashes here.

File details

Details for the file pyte-0.8.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pyte-0.8.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pyte-0.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd16d25e4cd27642cbbe94f9e8eaa1c59b9389ce0943e971dd4786f4e52daee0
MD5 fd49801e4cbd3474bb3dacabe93c71d7
BLAKE2b-256 d7faf1c65cf79f3923569629e96134e6f648be9b866d81710a80ff7465d8a420

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