Skip to main content

Rich2MD

This is a simple tool to convert Rich tables to Markdown tables.

Installation

pip install rich2md

Usage

There are two functions:

  • rich_table_to_df – converts the Rich Table object to a Pandas DataFrame.
  • rich_table_to_md_table – converts the Rich Table object to a Markdown table and returns it as a string.

Example:

from rich.table import Table
from rich2md import rich_table_to_md_table

table = Table("A", "B")
table.add_row("my", "mom")
table.add_row("your", "dad")
table_md = rich_table_to_md_table(table)
print(table_md)

Metadata

Release files for rich2md 0.1.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 rich2md 0.1.0
File Size Uploaded Provenance Actions
rich2md-0.1.0.tar.gz 1.8 kB Without provenance Details for rich2md-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rich2md 0.1.0
File Interpreter ABI Platform Actions
rich2md-0.1.0-py3-none-any.whl Python 3 none any Details for rich2md-0.1.0-py3-none-any.whl

Total release size: 3.6 kB

Release files / rich2md-0.1.0.tar.gz

Download URL rich2md-0.1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b313f4ea51ef6980614e3a77e83486ff9a0a6b5f1a55ccdf057bda8c1e567b01
BLAKE2b-256 checksum
How to use checksums
33c3bc69902430d2501c5cc953ae08c68d45f1d8d8957338723850ba7e65a6e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / rich2md-0.1.0-py3-none-any.whl

Download URL rich2md-0.1.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98664b381e229cc306c60207269f0e25c7603ae3fd89c2c7fade24e66a79523c
BLAKE2b-256 checksum
How to use checksums
3d63778980146933a58c13461390b81edeba5d742209e3c53a3eaac3f518e57d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Security for rich2md 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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