covid19-cli
covid19-cli copied to clipboard
A CLI for getting covid-19 coronavirus status of your district or state or country at lightning speed right on your terminal built using https://api.covid19india.org.
Don't Forget To Update Covid19-Cli Frequently, Thank You For Using
Use
pip install -U covid19-cli
orpip install covid19-cli==x.y.z
x.y.z is the latest version
Covid19-Cli
A CLI application for getting covid-19 coronavirus :space_invader: status of your country, state or district at lightning :zap: speed right on your terminal :computer: built using https://api.covid19india.org.
Made with :heavy_heart_exclamation: using Python3.
Dependencies
-
Covid19
runs on Python3.x -
pip3
-
requests
-
argparse
-
prettytable
and our beloved -
colorama
- Thanks to all :pray:
Installation (Not for development)
- Note: Please update globally installed package frequently. :innocent:
- Installing from
pypi
-
pip install covid19-cli
(use pip for Python3) - Already installed ?
- Update using
pip install -U covid19-cli
- see How To Update Pip Package
- Update using
-
- Installing Manually :
-
git clone https://github.com/asprazz/covid19-cli.git
-
cd covid19-cli
- Option 1:
- (if windows)
pip install .
- (if linux/mac)
sudo pip install . -H
- (if windows)
- Option 2:
- (optional for linux users) if requires
chmod +x install.sh
- then run
scripts/./install.sh
- (optional for linux users) if requires
- Option 1:
-
Usage
-
covid19 -e
orcovid19 --emergency
: for printing emergency numbers -
covid19 -h
orcovid19 --help
: for printing emergency numbers -
covid19 {COUNTRY}
:-
covid19 World
: for whole World's status world is special keyword -
covid19 India
orcovid19 Ind
orcovid19 In
: for India's status -
covid19 USA
orcovid19 Us
: for Fetching Usa's status -
covid19 UK
orcovid19 GBR
: for Fetching UK's status -
covid19 World -a
orcovid19 World --all
: for Fetching all countries at once -
covid19 India -a
orcovid19 India --all
: for Fetching all states at once (alternative tocovid India -s mh
) - For fetching states in India (only for India)
-
covid19 India -s maharashtra
orcovid19 Ind -s=maharashtra
: for both country's and state's status -
covid19 India -s mh
: will work the same way -
covid19 India -s all
orcovid19 In -s=ALL
: for all states of India
-
-
- See CODES.md (https://github.com/asprazz/covid19-cli/blob/master/CODES.md)
- See Documentation (https://github.com/asprazz/covid19-cli/blob/master/docs/)
Contributing Guidelines
- Thank you for Showing interest in contributing to this project
- Please see https://github.com/asprazz/covid19-cli/blob/master/CONTRIBUTORS.md
Development
- Please, follow the contributing guidelines
- Fork the repository and clone it to your local environment
- Activate environment if any (
venv
orconda
for more details ) - Running
covid19
- Running locally
-
cd covid19-cli
-
python covid19/__main__.py
-
- Installing globally from your local repository
-
cd covid19-cli
- Option 1:
- (if windows)
pip install .
- (if linux/mac)
sudo pip install . -H
- (if windows)
- Option 2:
- (optional for linux users) if requires
chmod +x install.sh
- then run
scripts/./install.sh
- (optional for linux users) if requires
- option 3:
-
python setup.py install
-
- Option 1:
-
- Running locally
- Fix :wrench: something broken or Build :hammer: something interesting
- Don't forget to target
develop
branch only
Contributing Guidelines
- Thank you for Showing interest in contributing to this project
- Please see https://github.com/asprazz/covid19-cli/blob/master/CONTRIBUTORS.md
Development
- Please, follow the contributing guidelines
- Fork the repository and clone it to your local environment
- Activate environment if any (
venv
orconda
for more details ) - Running
covid19
- Running locally
-
cd covid19-cli
-
python covid19/__main__.py
-
- Installing globally from your local repository
-
cd covid19-cli
- Option 1:
- (if windows)
pip install .
- (if linux/mac)
sudo pip install . -H
- (if windows)
- Option 2:
- (optional for linux users) if requires
chmod +x install.sh
- then run
scripts/./install.sh
- (optional for linux users) if requires
- option 3:
-
python setup.py install
-
- Option 1:
-
- Running locally
Error reports
- First of all thank you.
- https://github.com/asprazz/covid19-cli/issues
Special Thanks To Covid19India
- Built on API by : https://api.covid19india.org/
- For more details : https://github.com/covid19india/api
- Also Visit: https://www.covid19india.org/
Contributors
- Ankush Patil (https://github.com/asprazz)
- Suraj Kulkarni (https://github.com/KulkarniSuraj)
- Narayan Patil (https://github.com/Naaru-01)