Skip to content

rs_rich.ext.badge

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rs_rich.ext.badge: status, label, link and metadata chips (rich_ext::badge).

No Rich counterpart: this is the port's own rs-rich-ext crate.

BADGE_STYLES module-attribute

BADGE_STYLES: List[Any]

STYLES module-attribute

STYLES = BADGE_STYLES

Badge

plain property

plain: Any

label staticmethod

label(text: Any, *, style: Any = ..., symbols: Any = ...) -> Any
link(text: Any, url: Any, *, style: Any = ..., symbols: Any = ..., show_url: Any = ...) -> Any

meta staticmethod

meta(key: Any, value: Any, *, style: Any = ..., symbols: Any = ...) -> Any

status staticmethod

status(status: Any, message: Any, *, style: Any = ..., symbols: Any = ...) -> Any

Badges

plain property

plain: Any