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.3.4

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.3.4
File Size Uploaded
sondalab_palette-0.3.4.tar.gz 2.1 kB Details

Built distribution (wheel)

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

Total release size: 4.2 kB

Release files / sondalab_palette-0.3.4.tar.gz

Download URL sondalab_palette-0.3.4.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4e22760b4b8918952e6d30682ef96a2805eea4f3ecbd6fb02d2eef0d499cbdf1
BLAKE2b-256 checksum
How to use checksums
6570957c27b93fd1c3df67702d5028a3c4d607934eee881b177fa5c553c61893
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 Oct 2, 2026.

Transparency log

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

Download URL sondalab_palette-0.3.4-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a16d0f52d26ceb9ef0e805a750e7cb469c925b7194d6ba42cdb744e3b82d0068
BLAKE2b-256 checksum
How to use checksums
8a8d4a6b00d9ee052fdd3ccd5955badbd2bb59a876c2544955252ac64da0e823
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 Oct 2, 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

This release

0.3.4 This release

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

0.2.1

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