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.10

How to install

pip install covid

Dependencies

pydantic
requests

How to use

from covid import Covid

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

# or

covid = Covid(source="worldometers")

# to get data from john hopkins (deprecated)
covid = Covid(source="john_hopkins")

# get all data
covid.get_data()