Skip to main content

Color Markup In Python!

Project description

pycolor3

Installation:

For Windows:

pip install pycolor3==0.0.3 --upgrade

For MacOS and Linux:

pip3 install pycolor3==0.0.3 --upgrade

Usage Examples:

from pycolor3 import color


# Colorful Text

print(color("green", "Hello World")) # print "Hello World" in green
print(color("l-red", "This is light red!")) # print "This is light red!" in light red

# Background Colors

print(color("bg-cyan", "This has a cyan background!")) # prints text with a cyan background
print(color("bg-green", "This has a green background!")) # prints text with green background

A list of all available colors:

  • gray
  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white

you can prefix "l-" to any color to make it light.

you can also prefix "bg-" to any color to make it background.

for a light background, you can use "l-bg-" as a prefix.

NOTE: there isn't a "l-" prefix for white.

License: The MIT License (MIT)

By github.com/0Exe

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

pycolor3-0.0.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pycolor3-0.0.4-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pycolor3-0.0.4.tar.gz.

File metadata

  • Download URL: pycolor3-0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 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 pycolor3-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8678a678e4cc7f4a97bb9dcdd687e85b233868e1053d18677793ff2c845b7196
MD5 840e1daf80ea1ad29bfd6cb2e62d9006
BLAKE2b-256 25fe8f04fd04522d8b7d1cb1775be8db8c1de7696a2d955f8e2afa25203a24b9

See more details on using hashes here.

File details

Details for the file pycolor3-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pycolor3-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 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 pycolor3-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4ab681f1d67d026f8492a1c507d93ed9957fd991bc917e3203eaa2c5a464ee23
MD5 d0f5e64d15fd1f302739ed38c0ff23df
BLAKE2b-256 4cfb744f3f719c68a89cf7ee8a6d77b4554e8a73a22b05245601c927c53b43b9

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