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.2.tar.gz
(186.7 kB
view hashes)
Built Distribution
dinky_whatson-0.2-py3-none-any.whl
(185.7 kB
view hashes)
Close
Hashes for dinky_whatson-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587df8137eca5e1819aa3ae840d63a2806025b11f8c5aad3cf5b9808243119bf |
|
MD5 | b02e7fa68f4d39409cffb8c024d9458f |
|
BLAKE2b-256 | 25872d73a27ae1dcab990b184a550f86c17cc0a970d88c1bda1faa02d51c3a1c |