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


Download files

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

Source Distribution

wuhan_stats-1.5.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page