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.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for dinky_whatson-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2d8725a3060cb75eeb01d14365134f718fafb3da5f249c2a59bc1d00f839e4 |
|
MD5 | fca713c2905006e5cac1c0ec2c653e1c |
|
BLAKE2b-256 | f01c3e6e66b465248f80b3b087c8631bde79a02da4935cf96027caeab711e6de |