A cli application for real time cricket match notifications.
Project description
cricNotifier
A CLI based application for real time cricket score updates.
Features
- Rich command line interface
- Choose among multiple live matches
- Cross platform notifications, works on Windows and Linux systems
Installation
Make sure you have python > 3.5 and pip installed, you can install it from here
For Linux systems, if you want to enable notifications, install dependencies for dbus-python as per specifications from your distro, e.g. for Ubuntu based distros, install following:
sudo apt-get -y install libglib2.0-dev libdbus-1-3 libdbus-1-dev
Install using pip
pip install cricNotifier
Running the Application
Run following command on your terminal
cricNotifier [argument]
Arguments:
commentary Fetch commentary for last few overs.
info Fetch info for a match.
list List all available matches.
score Fetch latest score for a match.
select Select a match with an ID.
Examples
Get list of currently available matches
Select a match using ID
Get info about selected match
Alternatively you can pass an ID which will override the preserved ID using select (for current command only).
Get squads for the match
Get latest score
Get text commentary of the match
Contributing
This project welcomes contributions and suggestions. Please feel free to create a PR, report an issue or put up a feature request.
Build cricNotifier locally
Clone the Repository
git clone https://github.com/zweack/cricNotifier.git && cd cricNotifier
Install Dependencies
Install poetry for dependency management and run
poetry install
Alternatively, you can use pip
pip install -r requirements.txt
You are ready to roll!
License
cricNotifier is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cricnotifier-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723912d6de6174fde5bdadedb1a43bc4ee33be7bed7cc2c6f61398ea5008303d |
|
MD5 | 07a0630f98f55483612ea56b302d46a2 |
|
BLAKE2b-256 | 0b5ab7a3e89c0049af4cfb2477c69d56aa8be58b62efe9be9741f072b43ec3f1 |