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 details)

Uploaded Source

Built Distribution

python_colored_print-1.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file python_colored_print-1.1.0.tar.gz.

File metadata

  • Download URL: python_colored_print-1.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for python_colored_print-1.1.0.tar.gz
Algorithm Hash digest
SHA256 40f23102787a9b4abace356d8cca97ff4aa745bec22a0d0741283e23108588f6
MD5 164a7ee45a691ef2709e108daf468c0c
BLAKE2b-256 38f9e3ea946eaa748bb11d5a3db6368e4ea3e9ff78adb87752e63ab53651848b

See more details on using hashes here.

File details

Details for the file python_colored_print-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_colored_print-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 408b2e4c22f8c4b49feef1f6e80c10a97206408965af27b037f9614e2bfde213
MD5 baa0315d4fc3d0ac8293b8f0b1d0e9ed
BLAKE2b-256 a02de1673e30ce42ee23df1e892a7ef3918d4a97c17e98f183469e9e42fabb42

See more details on using hashes here.

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