Metadata-Version: 2.4
Name: pygradientify
Version: 1.0.3
Summary: make terminal ui's beautiful.
Author: sorrow
License: MIT
Project-URL: Homepage, https://github.com/xsorroww/pygradientify
Project-URL: Source, https://github.com/xsorroww/pygradientify
Project-URL: Issues, https://github.com/xsorroww/pygradientify/issues
Keywords: gradient,terminal,ansi,rgb,color
Requires-Python: >=3.8
Description-Content-Type: text/markdown


# pygradientify

make terminal UI'S beautiful.



## Installation

```bash
pip install pygradientify

pacman -S python-pygradientify
```
    
## Usage / examples

```python
from pygradientify import Colors

# ps: dir is horizontal by default.
"""
Normal
"""
print(Colors.red_to_blue("Hello World!", dir="h"))
print(Colors.mystic("Hello World!", dir="h"))

"""
ascii
"""
art = """
╔═╗╦ ╦╔═╗╦═╗╔═╗╔╦╗╦╔═╗╔╗╔╔╦╗╦╔═╗╦ ╦
╠═╝╚╦╝║ ╦╠╦╝╠═╣ ║║║║╣ ║║║ ║ ║╠╣ ╚╦╝
╩   ╩ ╚═╝╩╚═╩ ╩═╩╝╩╚═╝╝╚╝ ╩ ╩╚   ╩  
"""

print(Colors.blue_to_cyan(art, dir="h"))
print(Colors.purple_to_white(art, dir="h"))
print(Colors.orange_to_pink(art, dir="h"))
print(Colors.rainbow(art, dir="h"))  # 🌈 horizontal rainbow

"""
vertical will not work with rainbow it will fallback to horizontal
"""
print(Colors.rainbow(art, dir="v"))

"""
all gradients.
"""
for gradient_name in Colors.ls():
    grad = getattr(Colors, gradient_name)
    print(grad(f"{gradient_name}: The quick brown fox jumps over the lazy dog", dir="h"))


```
