Outbreaker
Unofficial API for the WHO Disease Outbreak News
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
latestReturn 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.
Metadata
Release files for outbreaker 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| outbreaker-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for outbreaker-1.0.5-py3-none-any.whl |
Release files / outbreaker-1.0.5-py3-none-any.whl
| Download URL | outbreaker-1.0.5-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c77de0589c6bc84629c5735cd37f555fbadd633c01268236bfa50892e0b32d7
|
|
BLAKE2b-256 checksum How to use checksums |
14af03cfce3fe99225a2b672b8cee81e4c5ebd90900a41a9c3034a0db80da9b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for outbreaker 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.