Skip to main content

rs-rich (Python)

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 39 submodules: diagnostics, structured data, diffs and test reports, transforms, workflows, tables and badges, terminal capabilities, frames, inspectors, live layouts, CLI docs, testing and QA
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
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.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 rs-rich 0.0.4
File Size Uploaded
rs_rich-0.0.4.tar.gz 2.9 MB Details

Built distributions (wheels)

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

Total release size: 60.7 MB

Release files / rs_rich-0.0.4.tar.gz

Download URL rs_rich-0.0.4.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
df39e01cb768970cc2b27d3cdbb999a29e6afafd161c86596818cee6d7c9e5ea
BLAKE2b-256 checksum
How to use checksums
587e7dbf2000bce0b05e77659d9565b8235ee2f5fe2e2b25762140c0b9da76fe
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 5, 2026.

Transparency log

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

Download URL rs_rich-0.0.4-cp39-abi3-win_amd64.whl
Size 10.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
727972caac7a79f27aa7085a4b295c6f2a5709d823ddb4459a706d678156d0b2
BLAKE2b-256 checksum
How to use checksums
f73c8cb51ef59f5cbcb2618e12105ac0cb6ed925ffd35b3bf9667081739f977c
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 5, 2026.

Transparency log

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

Download URL rs_rich-0.0.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e65585c745dc2b4e106552529e3a2a1c24538ee8def154eacf04b949c3e5e9e4
BLAKE2b-256 checksum
How to use checksums
ff07212ce05b1bf57edb68b447e7b30bf888f03e2bccf9a8a1ab5007f1e82eef
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 5, 2026.

Transparency log

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

Download URL rs_rich-0.0.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 12.4 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1543b74cbeadeedac007266e4a32933135816ed1293b65b0a6c5c52d5c66958e
BLAKE2b-256 checksum
How to use checksums
e2cd633b025f83319d84a82ad9bb953312ad541eeb4a322be20a2a2842dafa49
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 5, 2026.

Transparency log

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

Download URL rs_rich-0.0.4-cp39-abi3-macosx_11_0_arm64.whl
Size 11.1 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5c4e010f0c20558e53bda45b7d4b87ebbb013b13205ca8b212ac0ebd61aa27ef
BLAKE2b-256 checksum
How to use checksums
599426f9d99a7654ee7444ddd0d4453ebb80829c49cd79befc07d8abdcd7beef
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 5, 2026.

Transparency log

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

Download URL rs_rich-0.0.4-cp39-abi3-macosx_10_12_x86_64.whl
Size 11.3 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e640d25871e89e249a207785b61417777165645d0ceb48ea9d409f9514094854
BLAKE2b-256 checksum
How to use checksums
4ea68dbd888e0f3c34c7383158a4ba84e50e5c11afb20408a94fe2bc03a57527
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 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

6 release files

0.0.3

6 release files

0.0.2

6 release files

0.0.1

6 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