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:
- https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
- https://bluesock.org/~willg/dev/ansi.html#ansicodes
For fun:
Metadata
Release files for pvt100 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pvt100-0.1.5.tar.gz | 3.8 kB | Without provenance | Details for pvt100-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pvt100-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for pvt100-0.1.5-py3-none-any.whl |
Total release size: 8.5 kB
Release files / pvt100-0.1.5.tar.gz
| Download URL | pvt100-0.1.5.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e5c19d05e688822b99e08f543f6802c3622ef5009695717ae18007990e42923
|
|
BLAKE2b-256 checksum How to use checksums |
ea00a0916eb5d9a293c479e453ec69671e6595b61d1079db671367fe2f7b739a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.0 Darwin/22.2.0
|
Release files / pvt100-0.1.5-py3-none-any.whl
| Download URL | pvt100-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b50eef2ecfa8ce3afdd05ebf6d5520d41e6886c0b8b31f97922b81c53bfacd7
|
|
BLAKE2b-256 checksum How to use checksums |
ce664eecd119521b476cabe5d6327dfb31de2b81b706f211a28213b519f09ac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.0 Darwin/22.2.0
|
Security for pvt100 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.