dr_render
Rich console components and multi-level header tables for CLI rendering.
Why "render"?
This library focuses on rendering data visually in the terminal. Current features include styled tables and console components, with planned extensions for:
- Annotated text rendering (parts of speech, syntax highlighting)
- Colored markup and linguistic visualization
- Other CLI rendering utilities
Installation
uv add dr-render
Components
FancyTable
Extended Rich Table with multi-level spanning headers:
from dr_render import FancyTable, HeaderCell
table = FancyTable(show_header=True, header_style="bold magenta")
table.add_column()
table.add_column()
table.add_column()
table.add_header_row(
table.create_spanned_header("Group A", 2, "bold blue"),
HeaderCell("Single"),
)
table.add_header_row(HeaderCell("Col 1"), HeaderCell("Col 2"), HeaderCell("Col 3"))
table.add_row("a", "b", "c")
Console Components
TitlePanel- Styled title panel with double-edge borderSectionRule- Colored section dividersSectionTitlePanel- Panel with label and nested contentInfoBlock- Simple styled text block
DataFrame Utilities
create_hyperparameter_sweep_table()- ML hyperparameter sweep visualization with best-value highlightingdataframe_to_fancy_tables()- Split wide DataFrames into paginated FancyTablescreate_counts_table()- Cross-tabulation tables with styled headers
License
MIT
Metadata
Release files for dr-render 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dr_render-0.1.0.tar.gz | 73.6 kB | Without provenance | Details for dr_render-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dr_render-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dr_render-0.1.0-py3-none-any.whl |
Total release size: 84.2 kB
Release files / dr_render-0.1.0.tar.gz
| Download URL | dr_render-0.1.0.tar.gz |
|---|---|
| Size | 73.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a89d84ba6fda9bda018bfb7217f399250bc39f60c208e24f2a841827b8480efa
|
|
BLAKE2b-256 checksum How to use checksums |
fec77db1d7159083a62a297fb01665b70925a4b497d2cb7347855af0013c084e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|
Release files / dr_render-0.1.0-py3-none-any.whl
| Download URL | dr_render-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f61375e10cfc379c2c3a21a81c2be0eb6b157eec9f52f21284e2eebd0e558e1
|
|
BLAKE2b-256 checksum How to use checksums |
019c118c1c90614d5ee737746527a3bb1aa331677ef0a4307953c5cbb04e29bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|
Security for dr-render 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.