Package: covin-cli
covcli — Covid India CLICOVIN-CLIThe Corona pandemic is on everyone's mind. There are many shiny GUI's available to visualize the
COVID19-India Data. Thanks to all of them.On other note " I know nothing about epidemiology."The data source for my tool ishttps://api.covid19india.org/. A big shout out to all the developers
for there amazing dedication and bring us the formated data and GUI.COVIN-CLIA CLI written in Python3 to get the Covid19-India data.PrerequisiteYou need nothing more than a basic installation of Python 3 or newer and time to work on it.VirtualenvGoalAn attempt to create a 1st COVID-19 India CLI.Currently tool support 7 subcommands- country
 - district
 - state
 - state-cases
 - district-cases
 - states-name
 - districts-nameNote:- The CLI is still WIP and the arguments may change over the period of time.
 - This is a  project for me.
 - I am not Python expert. The code might not be well organised or upto mark as of now.
   But I will definitely try to make it upto mark.Run CLICountry(country)Command country accepts 1 flagactive / confirmed / recovered / deceasedpython3 covin-cli.py country -a confirmed
Total confirmed cases in India are : 19288819

python3 covin-cli.py country -a active
Total active cases in India are : 3321542

python3 covin-cli.py country -a recovered
Total recovered cases in India are : 15746000

python3 covin-cli.py country -a deceased
Total deceased cases in India are : 212497State(state)Command state accepts 2 flagsstatenameactive / confirmed / deceased / recoveredNote:- To get Indian States and Union Territories names please refer below WikiIndian State and Union Territoriesor you can run a CLI itself to get Indian States and Union Territories namespython3 covin-cli.py states-nameIndia's States and Union Territories Names are:
------------------------------------------------------------
Total States and Union Territories count in India is: 37

['Andaman and Nicobar Islands', 'Andhra Pradesh', 'Arunachal Pradesh', 'Assam', 'Bihar', 'Chandigarh', 'Chhattisgarh', 'Delhi', 'Dadra and Nagar Haveli and Daman and Diu', 'Goa', 'Gujarat', 'Himachal Pradesh', 'Haryana', 'Jharkhand', 'Jammu and Kashmir', 'Karnataka', 'Kerala', 'Ladakh', 'Lakshadweep', 'Maharashtra', 'Meghalaya', 'Manipur', 'Madhya Pradesh', 'Mizoram', 'Nagaland', 'Odisha', 'Punjab', 'Puducherry', 'Rajasthan', 'Sikkim', 'Telangana', 'Tamil Nadu', 'Tripura', 'Uttar Pradesh', 'Uttarakhand', 'West Bengal']python3 covin-cli.py state 'Madhya Pradesh' -a confirmed
Total confirmed cases in Madhya Pradesh are: 563327

python3 covin-cli.py state 'Madhya Pradesh' -a active
Total active cases in Madhya Pradesh are: 90796

python3 covin-cli.py state 'Madhya Pradesh' -a recovered
Total recovered cases in Madhya Pradesh are: 466915

python3 covin-cli.py state 'Madhya Pradesh' -a deceased
Total deceased cases in Madhya Pradesh are: 5616District(district)Command district accepts 3 flagsstatenameditrictnameactive / confirmed / deceased / recoveredNote:- To get Indian States and Union Territories names and respective districts please refer below WikiIndian States and Union Territories and respective districtsor you can CLI itself to get the districts in a statepython3 covin-cli.py districts-name 'Madhya Pradesh'State Madhya Pradesh districts names are:
------------------------------------------------------------
['Agar Malwa', 'Alirajpur', 'Anuppur', 'Ashoknagar', 'Balaghat', 'Barwani', 'Betul', 'Bhind', 'Bhopal', 'Burhanpur', 'Chhatarpur', 'Chhindwara', 'Damoh', 'Datia', 'Dewas', 'Dhar', 'Dindori', 'Guna', 'Gwalior', 'Harda', 'Hoshangabad', 'Indore', 'Jabalpur', 'Jhabua', 'Katni', 'Khandwa', 'Khargone', 'Mandla', 'Mandsaur', 'Morena', 'Narsinghpur', 'Neemuch', 'Niwari', 'Other Region', 'Panna', 'Raisen', 'Rajgarh', 'Ratlam', 'Rewa', 'Sagar', 'Satna', 'Sehore', 'Seoni', 'Shahdol', 'Shajapur', 'Sheopur', 'Shivpuri', 'Sidhi', 'Singrauli', 'Tikamgarh', 'Ujjain', 'Umaria', 'Vidisha']python3 covin-cli.py district 'Madhya Pradesh' 'Indore' -a active
active cases in district Indore are: 12278

python3 covin-cli.py district 'Madhya Pradesh' 'Indore' -a confirmed
confirmed cases in district Indore are: 110840

python3 covin-cli.py district 'Madhya Pradesh' 'Indore' -a recovered
recovered cases in district Indore are: 97423

python3 covin-cli.py district 'Madhya Pradesh' 'Indore' -a deceased
deceased cases in district Indore are: 1139District Cases(districts-cases)Command district-cases accepts 2 flagsstatenameactive / confirmed / deceased / recoveredpython3 covin-cli.py districts-cases 'Madhya Pradesh' -a activeactive cases in district Agar Malwa are: 384
active cases in district Alirajpur are: 472
active cases in district Anuppur are: 838
active cases in district Ashoknagar are: 707
active cases in district Balaghat are: 1156
active cases in district Barwani are: 767
active cases in district Betul are: 1809
active cases in district Bhind are: 282
active cases in district Bhopal are: 12955
active cases in district Burhanpur are: 164
active cases in district Chhatarpur are: 609State Cases(state-cases)Command state-cases accepts 1 flagstatenamepython3 covin-cli.py state-cases 'Madhya Pradesh'------------------------------------------------------------
Covid19 information for district Agar Malwa
------------------------------------------------------------
notes 

active 384

confirmed 2241

migratedother 0

deceased 23

recovered 1834

delta {'confirmed': 0, 'deceased': 0, 'recovered': 0}