make terminal ui's beautiful.
Project description
pygradientify
make terminal UI'S beautiful.
Installation
Install my-project with npm
pip install pygradientify
pacman -S python-pygradientify
Usage / examples
from pygradientify import Colors
"""
normal print
"""
print(Colors.red_to_blue("Hello World!"))
print(Colors.mystic("Hello World!"))
"""
ascii art print
"""
art = """
╔═╗╦ ╦╔═╗╦═╗╔═╗╔╦╗╦╔═╗╔╗╔╔╦╗╦╔═╗╦ ╦
╠═╝╚╦╝║ ╦╠╦╝╠═╣ ║║║║╣ ║║║ ║ ║╠╣ ╚╦╝
╩ ╩ ╚═╝╩╚═╩ ╩═╩╝╩╚═╝╝╚╝ ╩ ╩╚ ╩
"""
print(Colors.blue_to_cyan(art))
print(Colors.purple_to_white(art))
print(Colors.orange_to_pink(art))
"""
all colors.
"""
for gradients in Colors.colors:
grad = getattr(Colors, gradients)
print(grad(f"{gradients}: The quick brown fox jumps over the lazy dog"))
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
pygradientify-1.0.2.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygradientify-1.0.2.tar.gz.
File metadata
- Download URL: pygradientify-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f46f3148731a43fc0db9b2fd67ce03eb27a5bf78fbdd7ca13707c2abbfc1a389
|
|
| MD5 |
3c5ab135aa8c005e7267bafb0e703c24
|
|
| BLAKE2b-256 |
ab948e96c7240b5fadd39eb8d29ef0d0b979430b23f10c370c18646627d9c4db
|
File details
Details for the file pygradientify-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pygradientify-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce1e6efa4725c2685a3348d46a7876511ee40605c88c6fca98df32fbe5dd5a7
|
|
| MD5 |
8916d7199580e9279d44af85f5ddc0d0
|
|
| BLAKE2b-256 |
3e876622adfc14dd81907ad7a744bcabc2db79d2864b5b4dda4bafa69ad70300
|