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.4.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.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvt100-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 761dcbf07868736cae82e75100d9fe03ab39d0e3347f5a9a333076437f734339
MD5 ead2d44a2205e977542bf2d9c7173882
BLAKE2b-256 17a92f24779522773a7f0899dc3716fd1e52353e425c2efc1ba0a44416208d41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvt100-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a801a77f6bdd7079c6724405553c51d74f8797bc83448103018beb14b2206ec7
MD5 42c955918280436f2fb966fe0ef02bdd
BLAKE2b-256 74384ad684335978ee491c2151a7512bb992cdaf75e34779b58eae72113c9920

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