Skip to main content

dashbored

A simple dashboard framework created out of boredom. It provides a simple, tabular interface using a Python module that implements the defined specification.

Usage

Creating a dashbored module

The dashbored specification expects the following attributes.

  • fetch (required) - A function that takes no arguments and returns a list of mappings of field names to values.
  • FORMAT (optional, suggested) - This is a Python format mini-language string using columns from the data source as keywords.
  • FREQUENCY (optional, suggested) - The frequency to fetch updated data using the fetch function

For convenience, it's also suggested to create an entry_point within the dashbored group although it's not required as noted below.

Command line interface

If a dashbored module provides the suggested defaults, then running one should be as easy as:

python3 -m dashbored <spec>

where specification is either a fully qualified module name or an entrypoint name within the dashbored group.

Library interface

To be used as a library, simply provide the above mentioned arguments in the same positional order to the create functon in the dashbored module.

import dashbored

def myfetch():
    ...

dashbored.create("{field_a} {field_b}", myfetch, 1)

Metadata

Release files for dashbored 1.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 dashbored 1.1.0
File Size Uploaded Provenance Actions
dashbored-1.1.0.tar.gz 3.6 kB Without provenance Details for dashbored-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / dashbored-1.1.0.tar.gz

Download URL dashbored-1.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c7b15a357b9e4568f39df8fcc86c7742e0b39ecafbc67b8ac13b88d81276b48f
BLAKE2b-256 checksum
How to use checksums
9e84c248fad5b0cb23444a09d33c650136fd58d37ccc9b83e2753589452e0d5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / dashbored-1.1.0-py3-none-any.whl

Download URL dashbored-1.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4fb71305c22ae88b3f9f92b823f50d7340d2837374e143f63463bf4c3840823
BLAKE2b-256 checksum
How to use checksums
838882607bea6497f737921e772a9ac1805235d49fbb1b5894f0665a0aba7c68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Security for dashbored 1.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