Skip to main content

Python SDK to get information regarding the novel corona virus provided by Johns Hopkins university

Project description

Covid

CircleCI codecov

Description

Python SDK to get information regarding the novel corona virus provided by Johns Hopkins university

Full Documentation can be found here

Requirements

python >= 3.6

How to install

pip install covid

Dependencies

pydantic
requests

How to use

import covid

covid.data()

result

[
    {
        'country': 'Mainland China',
        'confirmed': 80756,
        'deaths': 3136,
        'recovered': 60096,
        'latitude': 30.5928,
        'longitude': 114.3055,
        'last_update': 1582264984000
    },
    {
        'country': 'Italy',
        'confirmed': 9172,
        'deaths': 463,
        'recovered': 724,
        'latitude': 43.0,
        'longitude': 12.0,
        'last_update': 1583777591000
    },
    ...

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

covid-0.1.4.tar.gz (2.5 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