πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
DemoInstallSign in
Socket

speedtable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speedtable

Ultra-fast terminal table renderer written in C

1.0.5
PyPI
Maintainers
1

⚑ speedtable

speedtable is an ultra-fast, C-based terminal table renderer for Python.
Designed for large datasets and low-latency rendering β€” with beautiful Rich-style Unicode output.

πŸ’‘ Perfect for CLI tools, dataset previews, or any place you need fast + styled tables.

πŸš€ Features

  • Blazing-fast C implementation πŸ”₯
  • Unicode box-style table formatting (like Rich’s HEAVY_HEAD)
  • Bold, colored headers with optional column type labels
  • Customizable:
    • Header color
    • Border color
    • Body text color
    • Type label color
    • Title text and color (italicized, centered above the table)

πŸ“¦ Installation

pip install speedtable

πŸ§ͺ Example Usage

import speedtable

table_data = {
    "columns": [
        {"name": "ID", "type": "int"},
        {"name": "Name", "type": "str"},
        {"name": "Age", "type": "int"}
    ],
    "rows": [
        {"ID": 1, "Name": "Luke", "Age": 21},
        {"ID": 2, "Name": "Joe", "Age": 45},
        {"ID": 3, "Name": "Alice", "Age": 56}
    ]
}

print(speedtable.render_table(
    table_data,
    header_color="green",
    border_color="magenta",
    body_color="white",
    type_color="red",
    title_text="Test Table",
    title_color="cyan"
))

πŸ“· Output

SpeedTable Demo

🎨 Supported Color Names

NameDescription
blackStandard black
redStandard red
greenStandard green
yellowStandard yellow
blueStandard blue
magentaStandard magenta
cyanStandard cyan
whiteStandard white

✨ Headers are always bold, and titles are always italicized.

πŸ’‘ Why speedtable?

The Python rich library is beautiful, but may be too slow for rendering large tables in CLI environments.
speedtable gives you the same polished aesthetic β€” at native speed.

πŸ“„ License

MIT Β© Luke Canada

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts