Skip to main content

Grafana Gridder

The Grafana Gridder is a grafanalib wrapper designed to simplify the organization and layout of panels within Grafana dashboards. It provides an intuitive way to define and position groups of panels in a grid layout, making it easier to create visually appealing and organized dashboards.

Features

  • Panel Grouping: Define groups of panels that can be positioned together within a dashboard.
  • Flexible Layout: Supports flexible grid layouts, allowing panels to be arranged in rows with customizable widths and heights.
  • Vertical Positioning: Easily position panel groups vertically within a dashboard.
  • Intuitive API: Simple and easy-to-use API for defining panel layouts and positioning.

Example

from grafanalib.core import Dashboard, TimeSeries, BarGauge, RowPanel
from grafana_gridder import PanelGroup, PanelPositioning, PanelSize

# Define panel groups
panel_group1 = PanelGroup(
    layout=[[PanelSize.LARGE, PanelSize.MEDIUM], [PanelSize.SMALL, PanelSize.SMALL]],
    panels=[TimeSeries(), TimeSeries(), BarGauge(), BarGauge()])
panel_group2 = PanelGroup(
    layout=[PanelSize.SMALL, PanelSize.MEDIUM, PanelSize.MEDIUM],
    panels=[TimeSeries(), TimeSeries(), TimeSeries()],
    row=RowPanel(title="RowTitle"))

# Create panel positioning
positioning = PanelPositioning(panel_groups=[panel_group1, panel_group2])

# Generate dashboard
dashboard = Dashboard(
    title='My Dashboard',
    panels=positioning.panels
)

Installation

You can install the Grafana Panel Layout Wrapper using pip:

pip install grafana_gridder

Metadata

Release files for grafana-gridder 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 grafana-gridder 0.1.0
File Size Uploaded Provenance Actions
grafana_gridder-0.1.0.tar.gz 6.7 kB Without provenance Details for grafana_gridder-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / grafana_gridder-0.1.0.tar.gz

Download URL grafana_gridder-0.1.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0f9c8cb06094c2bb81db707ba8db50472dc8954229ece719bbe05caf16573137
BLAKE2b-256 checksum
How to use checksums
84444176d2609cfc3a505d3edc880f78fc60625b3b6c1cf4bdf022f0130ca10d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

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

Download URL grafana_gridder-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d159d37ec5228960c394b598e4271fe0bb6d1aae500c641d86d9a8e594556e5d
BLAKE2b-256 checksum
How to use checksums
307178eb34b8dc5a59139f29c7a6574f199b4817996fb26685eb2dd422d8c56e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for grafana-gridder 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.

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