Skip to main content

A simple colouring package for making console programmes great again.

Project description

# Colorain A simple package that makes printing coloured text to the console a piece of cake.

## Installation ` pip install colorain `

## Usage `python from colorain import ColoredText txt = ColoredText('`f|y`Okay`f|n`, workin `f|c`fine`f|n`') # parses the colour tags and colour-codes the text as needed print(txt) # prints the coloured text print(txt.raw_text()) # strips off the colour tags ` ![Colorain](https://github.com/susmit31/colorain/blob/master/ss.png)

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

colorain-0.0.13.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

colorain-0.0.13-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file colorain-0.0.13.tar.gz.

File metadata

  • Download URL: colorain-0.0.13.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for colorain-0.0.13.tar.gz
Algorithm Hash digest
SHA256 90300ac6662515ab0b8242f142bd9d6775c4e9c56fa9920facc8289b42c02b7a
MD5 2ab97c13b17b2e9c6b3ce3f184cae138
BLAKE2b-256 bcc7cad4eebeb2b67f92f376bfc29e14bbf34dc4371e0f3ac1f7de4ecae3c3f8

See more details on using hashes here.

File details

Details for the file colorain-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: colorain-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for colorain-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 8c85e8afedd644037114be6ce66881f9cb184f69925264a1f545e98eb2aff6f6
MD5 bd18319eb224d59d30de9d23a47e516a
BLAKE2b-256 f646ef7db17d2cb3063f815e5c3a79fefd38611fe91375a49ef7ca8c7c4ff584

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