Skip to main content
PythonColorize
==============

Simple module to colorize text on terminal

Install ::

sudo pip3 install PythonColorize

DOC
===

Colors | Styles |
--------|--------------------|
black | bold |
red | dark |
green | underline |
yellow | negative |
blue | hide |
magenta | |
cyan | |
white | |

Params | Result |
--------|--------------------|
bg_ | background |
lg_ | light |
bg_lg_ | background & Light |

Module function
===============

Get color ::

PythonColorize.colors.<[param][style]_>[name]

<.> Optional

Colorize ::

PythonColorize.colorize(text=[text], color=[color], style=[style], light=[True|False], background=[True|False])`

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PythonColorize-0.2.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file PythonColorize-0.2.tar.gz.

File metadata

  • Download URL: PythonColorize-0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PythonColorize-0.2.tar.gz
Algorithm Hash digest
SHA256 0171100a90d39db090844f80a9118abdd9b505f190f1c53cd8ed471489083f40
MD5 93e09076e43333f3719b82d8c0bd29f0
BLAKE2b-256 9ec4e2adf5756879647c3301a455b1274cbb45ba18f5b9f3bd327aa32093b537

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2 This release

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page