Skip to main content

fast_rich

fast_rich is a drop-in replacement for Python Rich whose rendering engine is written in Rust. Change rich to fast_rich in your imports; everything else stays the same.

pip install fast-rich

Wheels are published for Linux (glibc and musl, x86_64 and aarch64), Windows x64 and macOS (Intel and Apple Silicon), for Python 3.10+. No Rust toolchain is needed.

Quick start

from fast_rich.console import Console
from fast_rich.table import Table

console = Console()

table = Table(title="Star Wars Movies")
table.add_column("Title", style="cyan")
table.add_column("Year", style="magenta", justify="right")
table.add_row("A New Hope", "1977")
table.add_row("The Empire Strikes Back", "1980")

console.print(table)

How it works

  • The object model is Rich's: Console, Text, Style, Segment, markup, highlighters, pretty, Progress, Live, logging, prompt and friends keep Rich's exact API and behaviour.
  • Layout and text wrapping run in Rust: Text, Panel, Table, Tree, Rule, Align, Padding, Constrain, Columns, Styled, Markdown and Syntax are laid out by the fast-rich Rust crate, which ports Rich's algorithms (column widths, wrapping, box drawing, tree guides).
  • Your own renderables (__rich__, __rich_console__, __rich_measure__) work unchanged, including inside native panels and tables.

Syntax is highlighted with syntect and Markdown is parsed with pulldown-cmark, so colours and Markdown details can differ from Rich (which uses Pygments and markdown-it).

Compatibility

The package is checked feature by feature against Rich 15 (152 checks, bindings/python/docker/feature_test.py): all pass on Linux (8 Docker images, piped and in a terminal), and 118 outputs are byte-identical to Rich.

Performance

Release build, Apple M-series, printing to a 100-column truecolor console (best of 5, bindings/python/benchmarks/bench_vs_rich.py):

Operation Rich 15 fast_rich Speedup
Table, 1000 rows × 5 columns 153 ms 44 ms 3.5×
Panel with 100 KB of text 15 ms 5.5 ms 2.8×
Syntax, fast_rich/table.py (~600 lines) 53 ms 19 ms 2.8×
1000 markup lines 40 ms 29 ms 1.4×

License

MIT. Parts of this package (the Python object model) are adapted from Rich, Copyright (c) 2020 Will McGugan, MIT License — see fast_rich/LICENSE.rich.

Credits

Metadata

Release files for fast-rich 0.4.0

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

Source distribution (sdist)

Source distribution for fast-rich 0.4.0
File Size Uploaded Provenance Actions
fast_rich-0.4.0.tar.gz 481.9 kB With provenance Details for fast_rich-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fast-rich 0.4.0
File Actions
fast_rich-0.4.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for fast_rich-0.4.0-cp310-abi3-win_amd64.whl
fast_rich-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for fast_rich-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
fast_rich-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for fast_rich-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl
fast_rich-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for fast_rich-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_rich-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for fast_rich-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
fast_rich-0.4.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for fast_rich-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
fast_rich-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for fast_rich-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 13.5 MB

Release files / fast_rich-0.4.0.tar.gz

Download URL fast_rich-0.4.0.tar.gz
Size 481.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a48f099b25a10b22a96c4669a998cca7cb4c8ad41d428aeb3b6a3b16b05df246
BLAKE2b-256 checksum
How to use checksums
2c2f3d67ad465d332b115923211a9567f59911cb69933985204cb37b0d29aaac
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-win_amd64.whl

Download URL fast_rich-0.4.0-cp310-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9044904215480774aa4b0a4974ae307f804e8ecacd9cfff2660e34df6b2d5b90
BLAKE2b-256 checksum
How to use checksums
eae4c0605a0eb11f6f4d7e9917e4cfcaa4219a0164421ce8c16172f29fa25f3d
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL fast_rich-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
a0440ad253fc38766a131023df973151aad977bd67b031cbd561ee06ecbde4c7
BLAKE2b-256 checksum
How to use checksums
4511daf8551227223f5429ad2370a3f1992f7e25b61985d72d02d39d8043dfd3
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL fast_rich-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 2.1 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
a540f61ac5958bc7de7fbed846bbf77a0fbd3e98bffed75be491fd56cd832cbf
BLAKE2b-256 checksum
How to use checksums
9223bd3e433a80bdef6e96c28ac1e083070900b44d5fd92ff87d14ce021fc711
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_rich-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
779177ffe34462d25e3a1155b8b6037d84e5ca07ecb9138a99db0fa82e4bb61a
BLAKE2b-256 checksum
How to use checksums
0a022f8b05e6b2b4669fea7fe99c3511e4c30463b1d40d5f41cbf55fdfb21877
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL fast_rich-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.9 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
db7bfdcfb1a867445952cb35e05046147ec06781cbe045a2451efdd4b5a6f7f3
BLAKE2b-256 checksum
How to use checksums
4b8aa2eda3891a83d9a46c2240196f8ddb51097685cbdc3259112c4b59bc1168
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL fast_rich-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
12c1cf50bfceada57a2cbb3b084a52e48b1be280c9989d4e856d85b44aa66a8d
BLAKE2b-256 checksum
How to use checksums
f1e49667538a4ff292da21d87fbcb0ddbf78d04b197c9fdaab71680abc242892
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 6, 2026.

Transparency log

Release files / fast_rich-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL fast_rich-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
eff046dd52a2d34cc3e932f153e9d2aa029a5ffc4fe1e12c5cb5bca6bd3b3ecc
BLAKE2b-256 checksum
How to use checksums
90b4911cf378775657e0e068525221c1a7e92c1c5bae60a08b42549c2b155021
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 6, 2026.

Transparency log

Security for fast-rich 0.4.0

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 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for fast_rich-0.4.0.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 6, 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