Skip to main content

dinky-weather

Weather widget for the dinky dashboard generator

Installation

Install this plugin using pip:

pip install dinky-weather

Usage

dinky-weather is a plugin for the dinky dashboard generator. You can simply register the weather widget with your DashboardManager:

from dinky_weather import DinkyWeatherPlugin

dm.register(
    DinkyWeatherPlugin(
        api_key="accuweather API key",
        location="location name",
        location_id="accuweather location id"
    ), zone="A")

Then draw your dashboard as usual:

dm.draw_dashboard()

Development

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

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

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Acknowledgements

Metadata

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

Built distribution (wheel)

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

Total release size: 511.8 kB

Release files / dinky-weather-0.2.tar.gz

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

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

Download URL dinky_weather-0.2-py3-none-any.whl
Size 255.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f839c80b2811f69853d27bbfa3ac1ec0a8f5371cf6ca202fde44ec4f29e4abed
BLAKE2b-256 checksum
How to use checksums
64dedb279f6b808d3ee6a62bf4869ce544ea814ca2824d363b772dc90b0ede58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

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