Skip to main content

make terminal ui's beautiful.

Project description

pygradientify

make terminal UI'S beautiful.

Installation

Install my-project with npm

pip install pygradient

pacman -S python-pygradient

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.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygradientify-1.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file pygradientify-1.0.1.tar.gz.

File metadata

  • Download URL: pygradientify-1.0.1.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

Hashes for pygradientify-1.0.1.tar.gz
Algorithm Hash digest
SHA256 01cfc192a62ea4fc6b46c15d1b9a520c37cdd1ecdc8f5c92e8a4a64d70fca768
MD5 c0065a447d4a94ce9691eff40ced0cb3
BLAKE2b-256 f5efb84718485d37e3be04358278791d11228df7200c040a965426a4b6ea8805

See more details on using hashes here.

File details

Details for the file pygradientify-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pygradientify-1.0.1-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

Hashes for pygradientify-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf490253ce121dcdce12dd3c5aaca68ed2ff10452fdb77a47352d11ef471c43e
MD5 6ce97e4a2c192c7b939ba417235f961a
BLAKE2b-256 5d0ea37ad412ef4986c5cfd720775f3bb26d49a89936966c2f980d0e43f16006

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page