Skip to main content

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

termscraper-0.10.0.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

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

termscraper-0.10.0-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

Details for the file termscraper-0.10.0.tar.gz.

File metadata

  • Download URL: termscraper-0.10.0.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for termscraper-0.10.0.tar.gz
Algorithm Hash digest
SHA256 bec8e4f6df1a5ee6cdb6593ee9d64c08b3ca8a22ba1e4988570133a2e4752565
MD5 50ce15927d449c65d73ec94d76ea6794
BLAKE2b-256 981bfa338567f8e29097fcd1943a6d543198c299c7ab0d5e91d5b4ee57fe2575

See more details on using hashes here.

File details

Details for the file termscraper-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: termscraper-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 43.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for termscraper-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb774cc0232f08a269fde2a4f541972e4682139a2dc1fa4a6c336af6c2465149
MD5 6ef82267c41bda1abcc6b873bc2f7a21
BLAKE2b-256 f1d3636419e227384accdc4e98c81d761ab26341e502f03b6d1eb6ef2c149790

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