Skip to main content

rs-rich (Python)

Memo the elephant with a friendly two-colour snake

Rich-compatible terminal rendering for Python, backed by rs-rich, a Rust port of Rich.

pip install rs-rich

Documentation: https://buchochelliq-labs.github.io/rs-rich-cli/python/, with a getting started guide and an API reference for every module.

Move a Rich program over by changing its imports:

from rs_rich.console import Console   # was: from rich.console import Console
from rs_rich.table import Table       # was: from rich.table import Table

table = Table(title="Star Wars Movies")
table.add_column("Released", justify="right", style="cyan", no_wrap=True)
table.add_column("Title", style="magenta")
table.add_row("Dec 20, 2019", "Star Wars: The Rise of Skywalker")

console = Console()
console.print(table)

All rendering happens in Rust. The Python package only maps Rich's classes and arguments onto the Rust ones, so output matches Rich 15.0.0 byte for byte (the documentation's Python section lists the few known differences). What the port cannot do (Jupyter output, a handful of Table options) raises NotImplementedError rather than rendering something different.

What is in it

Modules
All of Rich's API rs_rich (print, print_json, inspect, ...), console, text, style, color, theme, markup, emoji, segment, measure, box, errors, terminal_theme, table, panel, rule, padding, align, constrain, styled, bar, spinner, columns, containers, layout, tree, markdown, syntax, pretty, json, highlighter, traceback, live, live_render, status, screen, pager, progress, progress_bar, prompt, logging
rs-rich's extensions rs_rich.ext and its 45 submodules: diagnostics, structured data, diffs and test reports, transforms, workflows, tables and badges, terminal capabilities, frames, inspectors, live layouts, CLI docs, testing and QA, GitHub Markdown export and the SQL highlighter
Interactive components rs_rich.interact: fuzzy Select and MultiSelect, Input, Confirm, Form and Pager, run on the terminal or headless (scripted keys in, frames out), with a fuzzy matcher
Terminal apps rs_rich.tui: intuiTUIve, the reactive TUI framework, with the Rust API name for name: App, signals, every node and widget, menus, themes, stylesheets, accessibility, Widget subclasses, spawn and spawn_async, headless runs, serving to a browser (serve), terminal panes and web views
Micro assets rs_rich.micro: emoji-sized images written :micro:name:, a layered registry with a built-in library, MicroMarkup drawn through Kitty, iTerm2, Sixel or half-blocks (fallbacks elsewhere), and micro_create_package for your own
Images, charts and diagrams rs_rich.art (images, Sixel, FIGlet, GIFs, image diffs; Pillow images when Pillow is installed), rs_rich.chart (sparklines, bars, line charts, gauges, heatmaps, KPI cards, timelines), rs_rich.diagram (graphs and DOT), rs_rich.mermaid
Plugins rs_rich.plugins: write highlighters, code highlighters, themes, boxes, renderers, fence renderers and transforms in Python, checked by the Rust plugin host
The command line python -m rs_rich and the rich-rs script: rs-rich's rich command, with choose, filter, input, confirm and pager

Your own classes render through __rich__, __rich_console__ and __rich_measure__, anywhere a renderable goes.

The lumis (tree-sitter) code highlighter is a separate build (maturin build --features lumis), and Mermaid's mmdc backend needs --features mmdc and Mermaid's own CLI.

Versions

The package has its own version (0.0.4) and is released from python-v… tags. It bundles the rs-rich Rust crate from the same commit.

Metadata

Release files for rs-rich 0.0.12

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

Source distribution (sdist)

Source distribution for rs-rich 0.0.12
File Size Uploaded Provenance Actions
rs_rich-0.0.12.tar.gz 6.7 MB With provenance Details for rs_rich-0.0.12.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rs-rich 0.0.12
File Actions
rs_rich-0.0.12-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for rs_rich-0.0.12-cp39-abi3-win_amd64.whl
rs_rich-0.0.12-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for rs_rich-0.0.12-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
rs_rich-0.0.12-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for rs_rich-0.0.12-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
rs_rich-0.0.12-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for rs_rich-0.0.12-cp39-abi3-macosx_11_0_arm64.whl
rs_rich-0.0.12-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for rs_rich-0.0.12-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 103.2 MB

Release files / rs_rich-0.0.12.tar.gz

Download URL rs_rich-0.0.12.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
c6f8f93f3b4f8e389a950466a1c05cae33347cd828db09cd9c163003d0bc586e
BLAKE2b-256 checksum
How to use checksums
0e5dbc3eced35ae2aff6a43f431f8fb1c015acbfc86c08fc79ba9aebf9aa3690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / rs_rich-0.0.12-cp39-abi3-win_amd64.whl

Download URL rs_rich-0.0.12-cp39-abi3-win_amd64.whl
Size 18.4 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
170d7357090ad45b846ad3acb62b556156e4e2b4b734e434efcb99a617a6ea7c
BLAKE2b-256 checksum
How to use checksums
cb4b35a270aeeb3cbc4639a77a9e451e5b52853e7e64aff3fd271b8050e0f830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / rs_rich-0.0.12-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL rs_rich-0.0.12-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 20.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e242287042b895c0b5c752ccb67433a2b18e760c6b9a71bf63801c05084b529b
BLAKE2b-256 checksum
How to use checksums
c74273b21e47a46f2bd8af8de71bdca9319a7a872c7e3ff169a2c62ee8277051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / rs_rich-0.0.12-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL rs_rich-0.0.12-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 20.5 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6836d992c67cfa8145678e0f7d41758b5f7a3eb98b9afa416a8c0707ec65c598
BLAKE2b-256 checksum
How to use checksums
64505df74277f3d75877076fe49864fa026e8343333c3df6c061d202a60ef713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / rs_rich-0.0.12-cp39-abi3-macosx_11_0_arm64.whl

Download URL rs_rich-0.0.12-cp39-abi3-macosx_11_0_arm64.whl
Size 18.6 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a4e05b4a6e8b1ec685b2d073bb3bfd9c8ceeacc64247ab57d6a978bd9eb49d83
BLAKE2b-256 checksum
How to use checksums
47d4388773be3f30590143ccf497619c22955e9f58217822f8e92d727204d084
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / rs_rich-0.0.12-cp39-abi3-macosx_10_12_x86_64.whl

Download URL rs_rich-0.0.12-cp39-abi3-macosx_10_12_x86_64.whl
Size 18.9 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
fb5ae626dd0b28420a79134116921e685f8b123db943040e4bebf3cbbfb5a930
BLAKE2b-256 checksum
How to use checksums
5f971361d6c2925c466c6cf4f52040640149e351160c9921b6c5e546b0b4a49b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Security for rs-rich 0.0.12

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for rs_rich-0.0.12.tar.gz

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 Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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