Skip to main content

CLI tool to lookup Visa status for Countries

Project description

visa-cli

A CLI app to lookup Passport Index based on https://github.com/ilyankou/passport-index-dataset

PyPI GitHub

Installation

pip install visa-cli

Usage

usage: visa-cli [-h] [-d DESTINATION_COUNTRY] [-f] [-r] [-o] [-e] [-n] [-c]
                [-i] [-l RESIDENT_COUNTRIES]
                resident_country

positional arguments:
  resident_country      Current Resident Country

optional arguments:
  -h, --help            show this help message and exit
  -d DESTINATION_COUNTRY, --destination-country DESTINATION_COUNTRY
                        Destination Country
  -f, --visa-free       Countries not requiring Visa
  -r, --visa-required   Countries requiring Visa
  -o, --visa-on-arrival
                        Countries offering Visa on arrival
  -e, --eta             Countries offering Electronic Travel Authority
  -n, --visa-free-days  Countries offering Visa free days
  -c, --covid-ban       Countries not offering Visa due to Covid-19
  -i, --interactive     Interactive Prompt
  -l RESIDENT_COUNTRIES, --resident-countries RESIDENT_COUNTRIES
                        A list of Resident Countries in addition to the
                        Current Resident Country. Format argument in a comma-
                        delimited string "Israel, Russia, China"

  • Lookup on an interactive prompt
$ visa-cli -i Vatican

__     __ ___  ____      _             ____  _      ___
\ \   / /|_ _|/ ___|    / \           / ___|| |    |_ _|
 \ \ / /  | | \___ \   / _ \   _____ | |    | |     | |
  \ V /   | |  ___) | / ___ \ |_____|| |___ | |___  | |
   \_/   |___||____/ /_/   \_\        \____||_____||___|


Downloading Visa data...

Press Any Key to Exit!


Destination Country:Italy
90


Destination Country:United States
visa required


Destination Country:Romania
90


Destination Country:_
                     Albania
                     Algeria
                     Andorra


  • Lookup for a particular resident and destination Country.
$ visa-cli  Vatican -d Russia

__     __ ___  ____      _             ____  _      ___
\ \   / /|_ _|/ ___|    / \           / ___|| |    |_ _|
 \ \ / /  | | \___ \   / _ \   _____ | |    | |     | |
  \ V /   | |  ___) | / ___ \ |_____|| |___ | |___  | |
   \_/   |___||____/ /_/   \_\        \____||_____||___|


Downloading Visa data...

╒═════╤═══════════════════════╤═══════════╕
│     │ Destination Country   │ Status    │
╞═════╪═══════════════════════╪═══════════╡
│ 144 │ Russia                │ covid ban │
╘═════╧═══════════════════════╧═══════════╛

  • Lookup for a group of resident Countries.
$ visa-cli  Israel  -l "Germany, Austria, India" -d Canada

__     __ ___  ____      _             ____  _      ___
\ \   / /|_ _|/ ___|    / \           / ___|| |    |_ _|
 \ \ / /  | | \___ \   / _ \   _____ | |    | |     | |
  \ V /   | |  ___) | / ___ \ |_____|| |___ | |___  | |
   \_/   |___||____/ /_/   \_\        \____||_____||___|


Downloading Visa data...

Visa Status for various Resident Countries


╒════╤════════════════════╤═══════════════════════╤═══════════╕
│    │ Resident Country   │ Destination Country   │ Status    │
╞════╪════════════════════╪═══════════════════════╪═══════════╡
│  0 │ Israel             │ Canada                │ covid ban │
├────┼────────────────────┼───────────────────────┼───────────┤
│  1 │ Germany            │ Canada                │ covid ban │
├────┼────────────────────┼───────────────────────┼───────────┤
│  2 │ Austria            │ Canada                │ covid ban │
├────┼────────────────────┼───────────────────────┼───────────┤
│  3 │ India              │ Canada                │ covid ban │
╘════╧════════════════════╧═══════════════════════╧═══════════╛

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visa-cli-0.2.1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

visa_cli-0.2.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page