Skip to main content

griddle

Turn tabular data into a printable grid.
Wraps the tabulate to streamline usage as well as automatically reduce column widths to fit the grid to the current terminal width.

Installation

Install with:

pip install griddle

Usage

>>> from griddle import griddy
>>> data = [{"a": i, "b": i+1, "c": i+2} for i in range(10)]
>>> print(griddy(data, "keys"))
╭─────┬─────┬─────╮
│ a   │ b   │ c   │
├─────┼─────┼─────┤
│ 0   │ 1   │ 2   │
├─────┼─────┼─────┤
│ 1   │ 2   │ 3   │
├─────┼─────┼─────┤
│ 2   │ 3   │ 4   │
├─────┼─────┼─────┤
│ 3   │ 4   │ 5   │
├─────┼─────┼─────┤
│ 4   │ 5   │ 6   │
├─────┼─────┼─────┤
│ 5   │ 6   │ 7   │
├─────┼─────┼─────┤
│ 6   │ 7   │ 8   │
├─────┼─────┼─────┤
│ 7   │ 8   │ 9   │
├─────┼─────┼─────┤
│ 8   │ 9   │ 10  │
├─────┼─────┼─────┤
│ 9   │ 10  │ 11  │
╰─────┴─────┴─────╯

Metadata

Release files for griddle 0.0.2

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

Source distribution (sdist)

Source distribution for griddle 0.0.2
File Size Uploaded Provenance Actions
griddle-0.0.2.tar.gz 3.2 kB Without provenance Details for griddle-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / griddle-0.0.2.tar.gz

Download URL griddle-0.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f69764b7ab6fac97168108955f708833cde26513ad076989ea556ceb7aea7113
BLAKE2b-256 checksum
How to use checksums
8a54ea6a7647ec4d1be981165a77356d18e3c1ddfd52a2b65127f2884ba7a7e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / griddle-0.0.2-py3-none-any.whl

Download URL griddle-0.0.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17da223b098368f842abe0645250319197fadf442a8300ebe86c74da73320730
BLAKE2b-256 checksum
How to use checksums
b053306b70a762e83e7b8d65a7043d4ad5cc14dfc2315f4fdd62058689aefba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for griddle 0.0.2

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.

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