Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sphinx-ux-badges

Shared badge node and CSS for Sphinx autodoc extensions in the gp-sphinx ecosystem.

Provides BadgeNode, HTML visitors, and builder helpers shared by sphinx-autodoc-api-style, sphinx-autodoc-pytest-fixtures, sphinx-autodoc-sphinx, sphinx-autodoc-docutils, and sphinx-autodoc-fastmcp.

Install

$ pip install sphinx-ux-badges

Usage

Load the badge layer from your own extension's setup():

def setup(app):
    app.setup_extension("sphinx_ux_badges")

Then build badges in your directives or transforms:

from sphinx_ux_badges import build_badge, build_badge_group, build_toolbar

group = build_badge_group(
    [
        build_badge(
            "readonly",
            tooltip="Read-only",
            classes=["gp-sphinx-fastmcp__safety-readonly"],
        ),
    ]
)

Documentation

See the full documentation for the colour palette reference, BadgeSpec API, and live demos.

Metadata

Release files for sphinx-ux-badges 0.1.0a38

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

Source distribution (sdist)

Source distribution for sphinx-ux-badges 0.1.0a38
File Size Uploaded
sphinx_ux_badges-0.1.0a38.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-ux-badges 0.1.0a38
File Interpreter ABI Platform
sphinx_ux_badges-0.1.0a38-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / sphinx_ux_badges-0.1.0a38.tar.gz

Download URL sphinx_ux_badges-0.1.0a38.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7f35305d51529b728d6d389d1941b07cf6a2951841fe8da922b929a040e2e3ec
BLAKE2b-256 checksum
How to use checksums
3fd380a597e5052db0813d6372079548086453ab37fda44a2baffe9e606e9499
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 Aug 30, 2026.

Transparency log

Release files / sphinx_ux_badges-0.1.0a38-py3-none-any.whl

Download URL sphinx_ux_badges-0.1.0a38-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee3220c4146044501f769ea9eaf7adbacdf034bf30d3d9b1ecc27514cda1075b
BLAKE2b-256 checksum
How to use checksums
5f97e963c1c8ef14760d44f25047cea41b6aa5e699e674067789ff9ed0ea7d61
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 Aug 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a38 This release

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