Skip to main content

nice_colorsys

This is a very small library that may offer a nicer way of working with and converting between color systems than the default Python colorsys library.

In this library, a color in each supported color system is represented as a namedtuple with to_ methods for converting to different color systems.

Supported color systems

Main/built-in

With hsluv via nice_colorsys.hsluv

  • HSLuv
  • CIELUV
  • CIELCH
  • CIEXYZ

Example

from nice_colorsys import *

print(hsv(0.5, 1, 1).to_hls())

# Output:
#
# hls(hue=0.5, lightness=0.5, saturation=1.0)

Metadata

Release files for nice-colorsys 0.2.0

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

Source distribution (sdist)

Source distribution for nice-colorsys 0.2.0
File Size Uploaded Provenance Actions
nice_colorsys-0.2.0.tar.gz 4.0 kB With provenance Details for nice_colorsys-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nice-colorsys 0.2.0
File Interpreter ABI Platform Actions
nice_colorsys-0.2.0-py3-none-any.whl Python 3 none any Details for nice_colorsys-0.2.0-py3-none-any.whl

Total release size: 9.4 kB

Release files / nice_colorsys-0.2.0.tar.gz

Download URL nice_colorsys-0.2.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2af6fe750555c5da8fba6c52351dd0beda0819aad69cfa8aa65a1e565b3c88e0
BLAKE2b-256 checksum
How to use checksums
307724f1b1b80cdb1a105fc0a99c37487b248639b68d2ba2206d2eb8b6e9124c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 12, 2025.

Transparency log

Release files / nice_colorsys-0.2.0-py3-none-any.whl

Download URL nice_colorsys-0.2.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5797321230c4e95223f43afdb35f383ad0cc6254b6819a90f53d7ef0ceab28dc
BLAKE2b-256 checksum
How to use checksums
758ae20583e200c8bd1dfec73f43f592968ec6416227e210974d71a273166cd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 12, 2025.

Transparency log

Security for nice-colorsys 0.2.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nice_colorsys-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 12, 2025.

Transparency log

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.

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