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.2.tar.gz
(186.5 kB
view details)
Built Distribution
dinky_whatson-0.1.2-py3-none-any.whl
(185.5 kB
view details)
File details
Details for the file dinky-whatson-0.1.2.tar.gz
.
File metadata
- Download URL: dinky-whatson-0.1.2.tar.gz
- Upload date:
- Size: 186.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72cf9c6d800044d2f9a3890ab83d17b7f2159e773f84c2984f94a69729ef6e7e |
|
MD5 | 28a548f190b26bce93ee7908e40e1d5b |
|
BLAKE2b-256 | 89a28dbd7fae0d7210720fa5fb8b605d009a458a050b57d1b456b52f18c38e1a |
Provenance
File details
Details for the file dinky_whatson-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: dinky_whatson-0.1.2-py3-none-any.whl
- Upload date:
- Size: 185.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 | 8f8acd9856b90549768e0c3254518a171ea97a79b0aa60b238ef060e78fcbeda |
|
MD5 | c7be63e65bc57d420debee6bdf6b0f2a |
|
BLAKE2b-256 | ae5d43cad70d7fc96a619b0255cd20368c2cb6721794906efe7054dc2cffc001 |