Skip to main content

pycolor

Installation

Due to pycolor already being used, the actual package name is pycolor-codern

$ pip install pycolor-codern

About

Pycolor uses thecolorapi to get useful information about colors in a pythonic way.

Usage

from pycolor import Color

rgb = (1, 233, 123)
color = Color('Rgb', rgb)
# Returns a color object
# Color(color_input=(1, 233, 123), input_type='rgb', hex='#01E97B', cmyk='100, 0, 47, 9', name='Spring Green', hsl='152, 99, 46', xyz='42, 69, 57', image='https://singlecolorimage.com/get/01E97B/400x100.png', hsv='152, 100, 91', rgb='1, 233, 123')
name = color.name
image_url = color.image
color_hex = color.hex
# etc.

More examples can be seen in /examples

Contributing

If you have any questions or concerns feel free to make a pull request or open an issue.

Metadata

Release files for pycolor-codern 1.1

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

Source distribution (sdist)

Source distribution for pycolor-codern 1.1
File Size Uploaded Provenance
pycolor-codern-1.1.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pycolor-codern 1.1
File Interpreter ABI Platform
pycolor_codern-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / pycolor-codern-1.1.tar.gz

Download URL pycolor-codern-1.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0eeb2c36472e07a57555d0502eeaffc2047b77e55e97bfef582a27802428f97a
BLAKE2b-256 checksum
How to use checksums
002186ad1dfe37922711a9485b304ce8fbfc1e37fac62aec624b78764c9b15eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / pycolor_codern-1.1-py3-none-any.whl

Download URL pycolor_codern-1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
deb8402c32d490e077219697edaa4788151397117a6cfb6b60b32784246558e5
BLAKE2b-256 checksum
How to use checksums
1dd5070c8cce20486ea184f2e409bb3478e2bc86de057a5515ee72a6f49d89d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Security for pycolor-codern 1.1

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.

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