Python
Need help with pyte?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
selectel

Description

Simple VTXXX-compatible linux terminal emulator

443 Stars 79 Forks GNU Lesser General Public License v3.0 388 Commits 24 Opened issues

Services available

Need anything else?

.. -- mode: rst --

::

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

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 
_.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.