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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: dcolor-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for dcolor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bb94f8d40aecb0909b898740485e45c2d5a3174b092a03aacb6bf3c1ed669fd3
MD5 98e3da39f84ed3de959f06a972f55cfb
BLAKE2b-256 2e6de196d92eaa003b4786a0ea8e6c19f94da99cd6345c429f95a11bd8e744b9

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