Skip to main content

A simple python library in order to print in different colorsand save them into a file optionally.

Project description

Colored Print

PyPI Python Versions GitHub license

A lightweight python library in order to print in different colors and save them into a file optionally.

Setup

pip install python-colored-print

Usage

from colored_print import log

log.success("Hello", 123, "Bye").store()
log.info("Hello", 123, "Bye")
log.warn("Hello", 123, "Bye")
log.err("Hello", 123, "Bye").store()
log.pink("Hello", 123, "Bye")
log("Hello", 123, "Bye")  # default color is white

Output

Output

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

python_colored_print-1.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

python_colored_print-1.1.0-py3-none-any.whl (3.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