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 details)
Built Distribution
dinky_whatson-0.2-py3-none-any.whl
(185.7 kB
view details)
File details
Details for the file dinky-whatson-0.2.tar.gz
.
File metadata
- Download URL: dinky-whatson-0.2.tar.gz
- Upload date:
- Size: 186.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d1dce539ecc2fe24cd8776d9e5f54e3875d362517b865a7303bfdddc337f09 |
|
MD5 | 9918b9e98601b524a3f5adc27ff983aa |
|
BLAKE2b-256 | d18d8ac3bf50fb7530ef277d83fd02bfe2eb51c421f8b4c9b6c2cb964e1d489e |
File details
Details for the file dinky_whatson-0.2-py3-none-any.whl
.
File metadata
- Download URL: dinky_whatson-0.2-py3-none-any.whl
- Upload date:
- Size: 185.7 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 | 587df8137eca5e1819aa3ae840d63a2806025b11f8c5aad3cf5b9808243119bf |
|
MD5 | b02e7fa68f4d39409cffb8c024d9458f |
|
BLAKE2b-256 | 25872d73a27ae1dcab990b184a550f86c17cc0a970d88c1bda1faa02d51c3a1c |