Skip to main content

sondalab-palette

Sondalab terminal palette: semantic color roles with a named-ANSI floor and a truecolor opt-in.

Color is applied to roles, never to decoration — a hue mismatch is never a legibility failure. On any terminal you get the named-ANSI floor (resolves through the user's theme); when COLORTERM=truecolor, roles upgrade to the exact brand hues. NO_COLOR disables color.

from sondalab_palette import paint, supports_truecolor

print(paint("done", "ok"))          # green floor / #62D094 on truecolor
print(paint("careful", "warn"))     # yellow floor / amber on truecolor
print(paint("failed", "err"))       # red floor / soft-red on truecolor

Roles: prompt, ok, warn, err, dim, accent.

Generated from the canonical sondalab.tokens.json — do not hand-edit sondalab_palette/__init__.py.

Metadata

Release files for sondalab-palette 0.2.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 sondalab-palette 0.2.1
File Size Uploaded
sondalab_palette-0.2.1.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sondalab-palette 0.2.1
File Interpreter ABI Platform
sondalab_palette-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 kB

Release files / sondalab_palette-0.2.1.tar.gz

Download URL sondalab_palette-0.2.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4fd5f16fd12a50fb75681a4686f6723f0c45562f0bb2343604fe17d72491ebd5
BLAKE2b-256 checksum
How to use checksums
6f7ba59f26aee854f51402c53bce3c9b12de001296f76dc224bb47b0f525b691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release files / sondalab_palette-0.2.1-py3-none-any.whl

Download URL sondalab_palette-0.2.1-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba43b62328a741f802b220d74f1adc0721a95b1691368e98293877e627571d68
BLAKE2b-256 checksum
How to use checksums
15acbc9381e029718c950fc04eaa63f8da35da8f8038c4612513d73095d74737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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