Simple VTXXX-compatible terminal emulator scraper.
Project description
_____ _____ |_ _| / ___| | | ___ _ __ _ __ ___ \ `--. ___ _ __ __ _ _ __ ___ _ __ | | / _ \| '__|| '_ ` _ \ `--. \ / __|| '__|/ _` || '_ \ / _ \| '__| | || __/| | | | | | | |/\__/ /| (__ | | | (_| || |_) || __/| | \_/ \___||_| |_| |_| |_|\____/ \___||_| \__,_|| .__/ \___||_| | | |_|
What is termscraper?
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.
termscraper follows the suit. It is a direct fork of pyte 0.8.1 which in turn it is a fork of vt102.
termscraper aims to be used mostly for scraping terminal apps like htop or very long logs from tail or less in a very efficient way so it may not support all the features that a full VT100 terminal would have.
Installation
If you have pip you can do the usual:
$ pip install termscraper
Otherwise, download the source from GitHub termscraper and run:
$ python setup.py install
Similar projects
termscraper is not alone in the weird world of terminal emulator libraries, here’s a few other options worth checking out:
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
Built Distribution
Hashes for termscraper-0.9.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4964eb85954874dd25a5106f4700769da889cdb58a45e7c95552a4d4182e84b |
|
MD5 | 396331c488e0b7e9cd97419b9168e8e1 |
|
BLAKE2b-256 | 94dbec0d4e20d5d6914526de10f0c036a06f5938acdf8bf6d117105870b2dc8f |