Skip to main content

Adds typographical emphasis and text / background color for strings in python.

Project description

pycolorpy

Adds typographical emphasis and text / background color for strings in python.

Installation

pip install pycolorpy

Usage

from pycolorpy import black, red, green, yellow, blue, magenta, cyan, white

example_string = yellow('Hello ', options=['blink'], background='red') + magenta('World', options=['underline', 'italic'], background='green') + cyan('!')
print(example_string)

Available options

  • bright
  • dark
  • italic
  • underline
  • blink
  • selected

Available background colors

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

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

pycolorpy-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

pycolorpy-0.1.2-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pycolorpy-0.1.2.tar.gz.

File metadata

  • Download URL: pycolorpy-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for pycolorpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 448cf9eb24513ba319b4733338bce0e61ef1c11ea7e442c33e21a9099eb7b4ce
MD5 5c2c14b26f2adef85176a5e8bc070757
BLAKE2b-256 719a79734fc7160eac6416542e9d9fca192a0ed0f91dd07898e8686875ce746b

See more details on using hashes here.

File details

Details for the file pycolorpy-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pycolorpy-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for pycolorpy-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f50367306ffba52f89ef5ba417b0c2ebd1e2ee179f3243ad8510490f12eb201
MD5 17ad8f3f43bcba2af4f3d49a395925b6
BLAKE2b-256 e22ad5fa2070588a89aa9c9f833fdb9bb35b5c6090b7e730e79d252e2bdc5949

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