Registry / serialization / rich-cli

rich-cli

JSON →
library1.8.1pypypi✓ verified 86d ago

Command-line tool that uses the Rich library to pretty-print files (Markdown, CSV, JSON, Python source) with syntax highlighting, tables, and SVG export. Current version 1.8.1. Released infrequently; stable but lightly maintained.

pip install rich-cli
INSTALL
IMPORT
SIG · RICH-CLI
R
rich-cli
serializationpythonv1.8.1
Install
3.7s avg
Import
Disk
38MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.8.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 38.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.7s · import 0.000s · 39MB
38MB installed
● package 38MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rich_cli
import rich_cli
rich-cli is a CLI tool, not a library; importing it is rare but possible.

Preview a Markdown file in the terminal.

# Render a Markdown file with syntax highlighting rich-cli README.md
rich --version
Debug
Known issues
deprecatedrich-cli has not had a release since August 2022. It may not work with newer versions of Rich or Click.
fix
Consider using the `rich` library directly or an alternative like `glow` or `mdcat`.
affects: >=1.8.0
gotchaThe `-j` short flag was removed in v1.8.1 for `--json`. Use `-J` instead.
fix
Use `-J` or `--json` for JSON mode.
affects: >=1.8.1
Errors
Common errors & fixes
UserWarning: The parameter -j is used more than once.
Both `--json` and `--emoji` shared the short flag `-j` prior to v1.8.1.
fix
Upgrade to rich-cli>=1.8.1 and use `-J` for JSON, `-j` for emoji.
Upgrade
Version history
1.8.1latest on PyPI · released Jul 4, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Resources
rich-cli — pip install rich-cli · libregistry