Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
/ covid19-cli Public archive

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.

License

Notifications You must be signed in to change notification settings

ankush-0x90/covid19-cli

Repository files navigation

Don't Forget To Update Covid19-Cli Frequently, Thank You For Using

Use pip install -U covid19-cli or pip install covid19-cli==x.y.z x.y.z is the latest version

Covid19-Cli

        A CLI application for getting covid-19 coronavirus 👾 status of your country, state or district at lightning ⚡ speed right on your terminal 💻 built using https://api.covid19india.org.

        Made with ❣️ using Python3.

PyPI version PyPI - Downloads

image

Dependencies

Installation (Not for development)

  • Note: Please update globally installed package frequently. 😇
  • Installing from pypi
    • pip install covid19-cli (use pip for Python3)
    • Already installed ?
  • 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
      • Option 2:
        • (optional for linux users) if requires chmod +x install.sh
        • then run scripts/./install.sh

Usage

  • covid19 -e or covid19 --emergency : for printing emergency numbers
  • covid19 -h or covid19 --help : for printing emergency numbers
  • covid19 {COUNTRY} :
    • covid19 World : for whole World's status world is special keyword
    • covid19 India or covid19 Ind or covid19 In : for India's status
    • covid19 USA or covid19 Us : for Fetching Usa's status
    • covid19 UK or covid19 GBR : for Fetching UK's status
    • covid19 World -a or covid19 World --all : for Fetching all countries at once
    • covid19 India -a or covid19 India --all : for Fetching all states at once (alternative to covid India -s mh)
    • For fetching states in India (only for India)
      • covid19 India -s maharashtra or covid19 Ind -s=maharashtra : for both country's and state's status
      • covid19 India -s mh : will work the same way
      • covid19 India -s all or covid19 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

Development

  • Please, follow the contributing guidelines
  • Fork the repository and clone it to your local environment
  • Activate environment if any ( venv or conda 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
        • Option 2:
          • (optional for linux users) if requires chmod +x install.sh
          • then run scripts/./install.sh
        • option 3:
          • python setup.py install
  • Fix 🔧 something broken or Build 🔨 something interesting
  • Don't forget to target develop branch only

Contributing Guidelines

Development

  • Please, follow the contributing guidelines
  • Fork the repository and clone it to your local environment
  • Activate environment if any ( venv or conda 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
        • Option 2:
          • (optional for linux users) if requires chmod +x install.sh
          • then run scripts/./install.sh
        • option 3:
          • python setup.py install

Error reports

Special Thanks To Covid19India

Contributors

About

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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published