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.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file dinky-whatson-0.1.tar.gz
.
File metadata
- Download URL: dinky-whatson-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347251b2867c02460944bc72e6bbb79165105b27ef2c784fcdaa922e57dc3a29 |
|
MD5 | 0b9f9260d9244e11e80460c5131ad44b |
|
BLAKE2b-256 | 32598ace7951cdf2bab0b5dc04a3cb685c2c74ecaf33fcd41891cf2eca1d37b3 |
Provenance
File details
Details for the file dinky_whatson-0.1-py3-none-any.whl
.
File metadata
- Download URL: dinky_whatson-0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 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 | 44593a538311f9a907e2734cf25cf29298a8cb6ef1f3b69c79f15a824e925900 |
|
MD5 | 074207f56e9e95fb90f3ec49e4b898f3 |
|
BLAKE2b-256 | c36e5394d1d1a516eb7d921edd90b8adceb0fbeee9745f1f62aaacded8ed0082 |