Weather widget for the dinky dashboard
Project description
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
- Icons by Icons8
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dinky-weather-0.1.2.tar.gz
(73.8 kB
view hashes)
Built Distribution
Close
Hashes for dinky_weather-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30cabed40a7948f46fe92d444e7376bf7645bc96260f66f236965e623f0a3843 |
|
MD5 | 78f4c4619466fc05bf1ad6e4c10ce3db |
|
BLAKE2b-256 | 8224199f04ffd9acd8f9a5aa60b3c239c52449b9f54189b9e8d265c459010296 |