Skip to main content

This module is designed to color the information displayed in the console.

Project description

rainbow-console

This module is designed to color the information displayed in the console.

How to use

import rainbow

rainbow.print("#F07427example #F4CA16print")

rainbow.print("example print", color="#CC397B")

print(rainbow.paint("Hello, world!", color="#318CE7"))

Colored line example: "#318CE7Hello #FECF3DWorld#309831!#r default colored text"

Use #xxxxx to set color

Use #r to reset color to console default

Flag #r automatically appends to end of string

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

rainbow-console-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

rainbow_console-0.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file rainbow-console-0.0.1.tar.gz.

File metadata

  • Download URL: rainbow-console-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for rainbow-console-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11e1324be296b9725ff7ea8298176bd1908107b8ac08965c3277a907f75b6878
MD5 20bd6f9fabb6e68145b0cdf3e0f43e88
BLAKE2b-256 b39c4f9ff9fbe56ef8477d783372713d346a427ca945d20b36db777d8d6d82f1

See more details on using hashes here.

File details

Details for the file rainbow_console-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rainbow_console-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for rainbow_console-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1af119b940c97ae446751f8b76ff44ac03de07a8682c98248c3176575947c867
MD5 a9b093bdf2624046d54baff67328c2ab
BLAKE2b-256 8768e3dd43130532626195745c063b2b48c238a3408dcc9c07142f16d92f53d0

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