What's on in your suburb widget for the dinky dashboard
Project description
dinky-whatson
"What's On" widget for the dinky dashboard generator using data from the What's On City of Sydney website
Installation
Install this plugin using pip
:
pip install dinky-whatson
Usage
dinky-whatson
is a plugin for the dinky
dashboard generator. You can simply register the "What's On" widget with your DashboardManager:
from dinky_whatson import DinkyWhatsOnPlugin
dm.register(DinkyWhatsOnPlugin(suburb="Suburb in Sydney"), 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-whatson
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
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-whatson-0.1.2.tar.gz
(186.5 kB
view hashes)
Built Distribution
dinky_whatson-0.1.2-py3-none-any.whl
(185.5 kB
view hashes)
Close
Hashes for dinky_whatson-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8acd9856b90549768e0c3254518a171ea97a79b0aa60b238ef060e78fcbeda |
|
MD5 | c7be63e65bc57d420debee6bdf6b0f2a |
|
BLAKE2b-256 | ae5d43cad70d7fc96a619b0255cd20368c2cb6721794906efe7054dc2cffc001 |