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.3.tar.gz
(256.3 kB
view hashes)
Built Distribution
dinky_weather-0.1.3-py3-none-any.whl
(254.8 kB
view hashes)
Close
Hashes for dinky_weather-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b8076b67a36a772b8fd380f8dc068825f5f3b7968c916a9143eee1e99f4102a |
|
MD5 | 32bc617adcbf2fcde9f93107c70c72ab |
|
BLAKE2b-256 | 6c295de8511601f4ff9da7f6604d399e95e9a6d2f4009587c483f0326881a4cc |