avinassh / score-notify

Displays cricket score as notification. OS X Only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cric Score Notify

Simple python script which displays Cricket Score as notification on OS X. It fetches data from Cric Info RSS Feed

NOTE: Works for OS X only. For Linux, check this, which inspired OS X version.

Screenshots:

notification notification center sidebar

Requirements:

  • OS X, Python 3

  • Requires terminal-notifier:

      brew install terminal-notifier 
    
  • Install libraries mentioned requirements.txt:

      pip install -r requirements.txt
    

Usage:

With default settings:

python cric-score-notify.py 

If you want to change the fetch frequency, like, may be to 30 seconds:

python cric-score-notify.py -f 30

If Cric Info is blocked on your network, then you can use proxy server to fetch the scores:

python cric-score-notify.py -f 45 -p True

When in doubt, run for help:

python cric-score-notify.py -h

To do:

  • fetch frequency
  • proxy support
  • better UI for notification?
  • tests, CI integration
  • Python 2 support

License:

The MIT License (MIT). Check LICENSE.MD

About

Displays cricket score as notification. OS X Only.

License:MIT License


Languages

Language:Python 100.0%