Skip to main content

VT100 terminal escape codes for Python

Project description

pvt100

A fistful of ANSI terminal escape codes for your terminal.

They're actually just ANSI escape codes, but I like to call them pvt100 because it sounds cooler.

These are all grouped under the name "ANSI escape codes", which is a bit misleading, as ANSI is a standards body, and these are not all standards.

Usage

Easiest to just read pvt100.py to see what constants are available, as well as example.py in this repo.

import pvt100
print(f"{pvt100.color_bg_blue} Hello, world! {pvt100.style_reset}")

Installation

pip install pvt100

See also:

For fun:

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

pvt100-0.1.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pvt100-0.1.5-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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