Skip to main content

Explore WHO Disease Outbreak News

Project description

Outbreaker

Unofficial API for the WHO Disease Outbreak News Example View

Overview

The World Health Organisation has an awesome resource of disease outbreak reports that I believe is underutilised. To improve access to this resource, I've developed a small command line package that handles some specific requests.

Currently users are able to pull down the five most recent reports, request the full archive for a given year (from 1996 onwards), country or diseases, and download or read specific articles. In the future I plan to extend Outbreaker's capacities to include features such as outbreak alerts.

Naturally this package relies on the WHO website's existing layout, if anything breaks please highlight it as an issue on the package's github repo.

Installation

Via pip

pip install outbreaker

Via GitHub

Find the latest release wheel on the releases tab.

Running

Installation will add the outbreaker command to your PATH.

Run Types

  • latest Return the dates, titles, and urls for the five most recent reports.
  • archive <year/country/disease> Return a list of the reports found in the given year, country, or disease.
  • download <report_url> Download a given article url as a .txt file (nb. this has not yet been optimised for all articles).
  • read <report_url> Print out a given article to the terminal.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

outbreaker-1.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file outbreaker-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: outbreaker-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for outbreaker-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5498c63748884208b911d72c17a08716a254bc6244ea804c78ab52ce3e050c9d
MD5 68287c9251bb50827bd7297a0ecba92a
BLAKE2b-256 9c22b54a7f895520c9dbcc12675a7ee478e3f0220bf5a7016fd13cfc09f0bc84

See more details on using hashes here.

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