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

Uploaded Source

Built Distribution

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

pvt100-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pvt100-0.1.1.tar.gz.

File metadata

  • Download URL: pvt100-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/22.2.0

File hashes

Hashes for pvt100-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3d26ee89cdb5515bd46d4665ca1d0b158352044730c2c06cbbf49d4166899074
MD5 c250627572ab8c20a5f200f3508b4899
BLAKE2b-256 5ce20d5ec27eefd4e5800cd2aa51e218cb6f21197318cab1ee2dfa2c128e71d6

See more details on using hashes here.

File details

Details for the file pvt100-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pvt100-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/22.2.0

File hashes

Hashes for pvt100-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7119ddab0218b07c698d33202bf520b754a77a26ac46ae7da2c908a41bbad6
MD5 49758466f6e47fc54cb265a867a2ec90
BLAKE2b-256 9fb415331927a4dda63dfc8535228741397f1d27b3bf1d8d4fa1477f87c7dcdc

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