Skip to main content

dinky

Dashboard generator for e-ink devices such as the Inky Frame.

Installation

Install this library using pip:

pip install dinky

dinky is only a dashboard manager. It relies on widgets that fill the dashboard. Install your first widget also using pip:

pip install dinky-calendar

Usage

A small Python script is enough to generate your dashboard.

Start by instantiating the DashboardManager with a layout of your choice:

from dinky.dashboard_manager import DashboardManager
from dinky.layouts.column_grid_layout import ColumnGridLayout

dm = DashboardManager(layout_configuration=ColumnGridLayout(padding=5))

Then register your first widget and specify the zone in which you want it displayed:

from dinky_calendar import DinkyCalendarPlugin

dm.register(DinkyCalendarPlugin(), name="A")

Finally, draw your dashboard:

dm.draw_dashboard()

The dashboard can now be displayed on your e-ink device.

Development

To contribute to this library, first checkout the code. Then create a new virtual environment:

cd dinky
python -m venv .venv
source .venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for dinky 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 dinky 0.2
File Size Uploaded Provenance Actions
dinky-0.2.tar.gz 5.5 kB Without provenance Details for dinky-0.2.tar.gz

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / dinky-0.2.tar.gz

Download URL dinky-0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8c31a041560d37e926699d1963ff98b7c6e0202fa37b1f1807e1d7b638bb76e3
BLAKE2b-256 checksum
How to use checksums
796a152e418a81603ca11460375f8c51aae93d4de2a4df81de63aa91cce3b46e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / dinky-0.2-py3-none-any.whl

Download URL dinky-0.2-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67e16895de327341a48f21ddb1065a3fb9d5237ec1b3e495f21337c89cbd8915
BLAKE2b-256 checksum
How to use checksums
644bbe217696b999aa44ac8c1e6ccdebf86b7128a89b28c1e75635c05bd1ca95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for dinky 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