Skip to main content

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

pycolour-1.0.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

pycolour-1.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for pycolour-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4079d1a9c0abb42aa66b066e8a0380658e2ef063ca06c93260137ddc8ee3cae3
MD5 69f9dddbd5d085f0758a3be7e5e28b8d
BLAKE2b-256 f4900f125ffa03dc422a7081b23ce14f4c6e744483115afc5d32d11d3ae30b41

See more details on using hashes here.

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

Hashes for pycolour-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d005058d26dcff12cf89e7ce9d1ad7991c2b81f8be439107c83f9af7758aad4f
MD5 8e4b6fa96070884d0605ad27e8c99372
BLAKE2b-256 38d282751a35fdd47a86031969e3f05f68d79060b13eabd4db9015d1267f2c8b

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