Skip to main content

Colored text in the console

Project description

Easy Colors

This package allows you to print colored text in the console using ANSI escape codes.

Installation

Install on Linux/MacOS: python3 -m pip install easy_colors

Install on Windows: python -m pip install easy_colors

Usage

from easy_colors import Colors

print(f'{Colors.INFO}This is an example{Colors.END}')

print(f'{Colors.DANGER}This is another example{Colors.END}')

Note: Make sure to end all colored strings with Colors.END

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

easy_colors-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

easy_colors-0.0.1-py3-none-any.whl (2.5 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