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.1.tar.gz
(73.6 kB
view hashes)
Built Distribution
Close
Hashes for dinky_weather-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1def269a85713e5826a21cc5822ca5f4b84bcf3965a6657c45b5f099d447c850 |
|
MD5 | ab5a5b75b3eefda3283f953f00119409 |
|
BLAKE2b-256 | 6d2c825b3f43e2e2899a145203baa2180784275261c438ff61399e5bd7da34a9 |