Skip to main content

Make command line text colored

Project description

make_colors

This is make command line text colored

Installing

Install and update using pip_:

.. code-block:: text

$ pip install make_colors

make_colors supports Python 2 and newer, Python 3 and newer, and PyPy.

.. _pip: https://pip.pypa.io/en/stable/quickstart/

A Simple Example

What does it look like? Here is an example of a simple make_colors program:

.. code-block:: python

from make_colors import make_colors

print make_colors('This is White on Red', 'white', 'red')
print make_colors('This is Light White on Light Red', 'lightwhite', 'lightred')
print make_colors('This is Light White on Light Magenta', 'lw', 'm')
print make_colors('This is Light White on Light Blue', 'lw', 'bl')

And what it looks like when run:

.. code-block:: text

$ python hello.py 
This is White on Red
This is Light White on Light Red
This is Light White on Light Magenta
This is Light White on Light Blue

Support

  • Python 2.7 +, Python 3.x
  • Windows, Linux

Links

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

make_colors-3.36.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

make_colors-3.36-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file make_colors-3.36.tar.gz.

File metadata

  • Download URL: make_colors-3.36.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for make_colors-3.36.tar.gz
Algorithm Hash digest
SHA256 0592fd32f09acdf9490b9e5f85505a44ecebdf776e66098863fce4034e9c0dbe
MD5 f52ea670a7f0e2f13d1727cb6400230d
BLAKE2b-256 5c6c5e5de1801ee3a606851b917d591b63b17e8fb132cc758728c8efc0cc3994

See more details on using hashes here.

File details

Details for the file make_colors-3.36-py2.py3-none-any.whl.

File metadata

  • Download URL: make_colors-3.36-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for make_colors-3.36-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4ffb956b0886fd23c4043bfffa0d7f26aadde6d0b7818297987cef3e702e05cb
MD5 bb0c83f649bef983488b0ffd83600f87
BLAKE2b-256 532ffa5b39819c9657fa4d9658ded862823d446413d80d006ab4876e60f075b0

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