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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvt100-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 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.5.tar.gz
Algorithm Hash digest
SHA256 7e5c19d05e688822b99e08f543f6802c3622ef5009695717ae18007990e42923
MD5 925c88d8014d0013e2556c16a5faff0a
BLAKE2b-256 ea00a0916eb5d9a293c479e453ec69671e6595b61d1079db671367fe2f7b739a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvt100-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b50eef2ecfa8ce3afdd05ebf6d5520d41e6886c0b8b31f97922b81c53bfacd7
MD5 baeaabd60c74a97c688a8220b8b336b5
BLAKE2b-256 ce664eecd119521b476cabe5d6327dfb31de2b81b706f211a28213b519f09ac4

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