decorate string library
Project description
dcolor
dcolor is open-source package for Python.
dcolor for easily modifying charactor.
Install
$ pip install dcolor
Usage
print("Hello World")
output:
for dcolor import colors
color_string = colors("Hello World", "red")
print(color_string)
output:
for dcolor import backgrounds
back_string = backgrounds("Hello World", "red")
print(back_string)
output:
for dcolor import attributes
attr_string = attributes("Hello World", "bold")
print(attr_string)
output:
LICENSE
dcolor project is licensed under the terms of MIT license.
Project details
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb94f8d40aecb0909b898740485e45c2d5a3174b092a03aacb6bf3c1ed669fd3 |
|
MD5 | 98e3da39f84ed3de959f06a972f55cfb |
|
BLAKE2b-256 | 2e6de196d92eaa003b4786a0ea8e6c19f94da99cd6345c429f95a11bd8e744b9 |