Skip to main content

simple colorization of strings in Python

Project description

ezpycolor

simple colorization of strings in Python

Installation

pip install ezpycolor

Example Output

ezpycolor-example-output.PNG

Usage

from ezpycolor import *

printgreen("hello world")

s = colorpurple("hello")+" "+colorred("world")
print(s)

printrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
printbgrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

Objects

# print statements
printpurple
printblue
printgreen
printyellow
printgold
printred
printbold
printunderline
printbgpurple
printbgblue
printbggreen
printbgyellow
printbggold
printbgred
printrainbow
printbgrainbow

# string objects
colorpurple
colorblue
colorgreen
coloryellow
colorgold
colorred
colorbold
colorunderline
colorbgpurple
colorbgblue
colorbggreen
colorbgyellow
colorbggold
colorbgred
colorrainbow
colorbgrainbow

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

ezpycolor-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

ezpycolor-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file ezpycolor-0.1.0.tar.gz.

File metadata

  • Download URL: ezpycolor-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9

File hashes

Hashes for ezpycolor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6526554a15875ec99543d74a70149bcb0a0c7b34ceb57d1c827d65df4fc0c111
MD5 dd8abacf27244fc4ef35d5e17dbfe200
BLAKE2b-256 c42c972adcf0df9d4bf94fa1f0ffa3167f38b70e195f4819b05f450765464b3d

See more details on using hashes here.

File details

Details for the file ezpycolor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ezpycolor-0.1.0-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/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9

File hashes

Hashes for ezpycolor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 138020b9c17e885622f5a1628a59df4093d87a58f95d3b9f93736ebaa32e7a3b
MD5 90b2141a57b86623cc1eeffd11ea11cb
BLAKE2b-256 7421b21c016630ab4b87f4e0393d081411fa940fddc3c76fe6398a4af377d8b1

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