Skip to content

Getting Started

CircleCI CircleCI codecov GitHub Pipenv locked Python version GitHub top language PyPI Downloads license GitHub pull requests GitHub closed pull requests GitHub issues GitHub closed issues

Python package to get information regarding the novel corona virus provided by Johns Hopkins university and worldometers.info

corona.jpeg

Full code on github

Requirements

python >= 3.6

How to install

pip install covid

Dependencies

pydantic
requests

How to use

from covid import Covid

# by default data source is "john_hopkins"
covid = Covid()

# or
covid = Covid(source="john_hopkins")

# to get data from worldometers.info
covid = Covid(source="worldometers")

# get all data
covid.get_data()