Skip to main content

decorate string library

Project description

dcolor

issues forks starts python pypi

dcolor is open-source package for Python.

dcolor for easily modifying charactor.

Install

$ pip install dcolor

Usage

print("Hello World")

output:

normal

for dcolor import colors

color_string = colors("Hello World", "red")

print(color_string)

output:

colors

for dcolor import backgrounds

back_string = backgrounds("Hello World", "red")

print(back_string)

output:

backgrounds

for dcolor import attributes

attr_string = attributes("Hello World", "bold")

print(attr_string)

output:

attributes

LICENSE

dcolor project is licensed under the terms of MIT license.

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

dcolor-0.1.0.tar.gz (6.4 kB view hashes)

Uploaded Source

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