Skip to main content

Py-Colors

Installation

pip install py-colors

Note

If Your Using Windows This package will add all available colors
to windows registry so you can easily add colors to your code.

Usage

from colors import *
# First Method
print(fg_color + bg_color + style + "Hello, World")
# Second Method
print(color(string="Hello, World", fg="blue", bg="black", style="bold"))

Available Colors

Colors

RED
BLUE
CYAN
YELLOW
GREEN
MAGENTA
WHITE
BLACK

Backgrounds

BG_BLACK
BG_RED
BG_GREEN
BG_YELLOW
BG_BLUE
BG_MAGENTA
BG_CYAN
BG_WHITE

Styles

RESET
BOLD
REVERSE
UNDERLINE
ITALIC
BLINK
INVISIBLE
RED_UNDERLINE
GREEN_UNDERLINE
STRIKE
CURLY_UNDERLINE

Metadata

Release files for Py-Colors 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Py-Colors 0.2
File Size Uploaded Provenance Actions
Py-Colors-0.2.tar.gz 6.8 kB Without provenance Details for Py-Colors-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Py-Colors 0.2
File Interpreter ABI Platform Actions
Py_Colors-0.2-py3-none-any.whl Python 3 none any Details for Py_Colors-0.2-py3-none-any.whl

Total release size: 14.0 kB

Release files / Py-Colors-0.2.tar.gz

Download URL Py-Colors-0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9601fd2c60f85da64abc8f8cd366b8b27a4b5f5abf020ddb4704db618c68bf40
BLAKE2b-256 checksum
How to use checksums
ebc982f1d10d1843393b04d9ab04e3d9aa2451ec8080900aa260c2466aa2aaaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / Py_Colors-0.2-py3-none-any.whl

Download URL Py_Colors-0.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e705ab404858c549b25bbcd55026b73d31d2cb8014c771a86749bd3059844a1
BLAKE2b-256 checksum
How to use checksums
40fa50fe5b80923870f7a90a659cbc62cfb241c91f3e7b1ca330bccd9146bb48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Security for Py-Colors 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page