Python Script to Track Coronavirus in Your Country

covid is python package to track the Coronavirus spread in your country.
It requires Python 3.6 or later.
To install this package:

pip install covid

Following is a sample script to use this package to track coronavirus numbers for specific country ( here I use Egypt with id=71 as an example):

Following is a sample output for today’s numbers:

If you don’t know the ID of your countries, you can use the following command to retrieve list of all countries information (id & name):

countries = covid.list_countries()

For more information about this package:



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s