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 details)
Built Distribution
File details
Details for the file dinky-whatson-0.1.1.tar.gz
.
File metadata
- Download URL: dinky-whatson-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3c63d0004db3ff03b046503a916e42d070c535270cec9bb08479bd94db98bc |
|
MD5 | 1699ea3546c95cb6c40d240b5a720002 |
|
BLAKE2b-256 | f889cb8b1d719d367e959a450eb4ec88826b73b098aadf370364d0f5b1afa726 |
Provenance
File details
Details for the file dinky_whatson-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dinky_whatson-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2d8725a3060cb75eeb01d14365134f718fafb3da5f249c2a59bc1d00f839e4 |
|
MD5 | fca713c2905006e5cac1c0ec2c653e1c |
|
BLAKE2b-256 | f01c3e6e66b465248f80b3b087c8631bde79a02da4935cf96027caeab711e6de |