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.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.3.1
File Size Uploaded
sondalab_palette-0.3.1.tar.gz 1.8 kB Details

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / sondalab_palette-0.3.1.tar.gz

Download URL sondalab_palette-0.3.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f1da9e4ba6acbfd9306d6ec5fc8e9f76a4504aa82927adecf8c1426c87d97ad
BLAKE2b-256 checksum
How to use checksums
d8d626d56fdd11e7a85c01c5e9ea1ad9d00f3406e2b019bf5b3598a5d17cea76
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.3.1-py3-none-any.whl

Download URL sondalab_palette-0.3.1-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e30837396ff7a684327b00d98471f52c78c7ba2e3be0b30a91375b25de6c48bd
BLAKE2b-256 checksum
How to use checksums
05a4fddaaa270dcde486ea782f50e86415a9351859b13bbcfc2ecf8fb170277a
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

This release

0.3.1 This release

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