Skip to main content

Simple desktop alert for Wuhan virus statistics updates

Project description

wuhan_stats

Simple alert on updates of Wuhan virus statistics.

Generates alert using the Notifications feature on Mac or Windows as soon as new statistics are available at https://www.worldometers.info/coronavirus/

Alert sample

Dependencies:

  • requests
  • BeautifulSoup
  • plyer

To install:

'pip install wuhan_stats'

To run:

'nohup python -m wuhan-stats &' (Mac)

'pythonw -m wuhan_stats' (Windows)

Notes

Polling period is 1 hour (hardcoded).

Alert is generated only when the script is launched and then only if it finds (while checking hourly) the 'Last updated' field on the source site updated.

For Windows, the notification's timeout is 1 hour.

For Mac, make sure desired notification style is choosen for Script Editor in System Preferences->Notifications.

Project details


Release history Release notifications

This version

1.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wuhan-stats, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size wuhan_stats-1.4.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page