Skip to main content

TextUI colors for Python.

Project description

This module is really simple, it gives you colored strings for terminal usage. Included colors are red, green, yellow, blue, black, magenta, magenta, cyan, white, clean, and disable.

If you call disable(), all future calls to colors will be ignored.

Usage is simple

# red is red, white is white. >>> print ‘{red} white’.format(red=crayons.red(‘red’)) red white

That’s it!

Installation

$ pip install crayons

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

crayons-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

crayons-0.1.0-py2-none-any.whl (3.9 kB view details)

Uploaded Python 2

File details

Details for the file crayons-0.1.0.tar.gz.

File metadata

  • Download URL: crayons-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crayons-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9daffdd5d68a9d12a4fdad51ffe96bc923344b2717124b692f43bcbe94c743d
MD5 7f937eeb6490bc55f5ed943d996a3f06
BLAKE2b-256 f4629769587baf2077383159de26759adbea3c076ac44f0f4a27022b043e36ab

See more details on using hashes here.

File details

Details for the file crayons-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for crayons-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 b699a224b9c188c31150f6bd92bee63a19625797142f9526e7bcf4a3e38adc33
MD5 b09c5996029cbcc03f4f6f7fcedde0fc
BLAKE2b-256 e41c9aa8e4876ac1ede96ae6f7e245ab7dfc2cc00ccc609d279dd7f60d992a55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page