A simple command line colour tool for python
Project description
pycolour
Easily colour your text in the command line
black = '\033[30m' red = '\033[31m' green = '\033[32m' yellow = '\033[33m' blue = '\033[34m' purple = '\033[35m' cyan = '\033[36m' white = '\033[37m' bold = '\033[1m' normal = '\033[22m' end = '\033[0m'
- Black
- Red
- Green
- Yellow
- Blue
- Purple
- Cyan
- White
- Bold
- Normal
- end
Usage:
print(pycolour.red + "Red Text" + pycolour.end)
Recommendation:
Use import pycolour as p instead of import pycolour to make referencing easier
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycolour-1.0.2.tar.gz.
File metadata
- Download URL: pycolour-1.0.2.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4079d1a9c0abb42aa66b066e8a0380658e2ef063ca06c93260137ddc8ee3cae3
|
|
| MD5 |
69f9dddbd5d085f0758a3be7e5e28b8d
|
|
| BLAKE2b-256 |
f4900f125ffa03dc422a7081b23ce14f4c6e744483115afc5d32d11d3ae30b41
|
File details
Details for the file pycolour-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pycolour-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d005058d26dcff12cf89e7ce9d1ad7991c2b81f8be439107c83f9af7758aad4f
|
|
| MD5 |
8e4b6fa96070884d0605ad27e8c99372
|
|
| BLAKE2b-256 |
38d282751a35fdd47a86031969e3f05f68d79060b13eabd4db9015d1267f2c8b
|