Skip to main content

Terminal color style handler.

Project description

colorpie

Terminal color style handler.

Installation:

python -m pip install [--upgrade] colorpie

Available tools:

from colorpie import Style4Bit, COLORS, HIGHLIGHTS, ATTRIBUTES as ATTRS

style = Style4Bit(
    color=COLORS.RED,
    highlight=HIGHLIGHTS.BLACK,
    attributes=[ATTRS.BOLD, ATTRS.SLOW_BLINK]
)

if __name__ == '__main__':
    print(style.format('Hello, World!'))

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

colorpie-1.0.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

colorpie-1.0.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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