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.2.tar.gz
(256.6 kB
view hashes)
Built Distribution
dinky_weather-0.2-py3-none-any.whl
(255.2 kB
view hashes)
Close
Hashes for dinky_weather-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f839c80b2811f69853d27bbfa3ac1ec0a8f5371cf6ca202fde44ec4f29e4abed |
|
MD5 | 48698ca1f3a5c98723c408c6bfbbde9c |
|
BLAKE2b-256 | 64dedb279f6b808d3ee6a62bf4869ce544ea814ca2824d363b772dc90b0ede58 |