CLI tool to lookup Visa status for Countries
Project description
visa-cli
A python script to lookup Passport Index Dataset
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
Release history Release notifications | RSS feed
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.1.2.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file visa-cli-0.1.2.tar.gz
.
File metadata
- Download URL: visa-cli-0.1.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949641a5c50c2f9c05ac02a5c4c5f49d66eb31ef19bc11f3eabdf8fae73d23b3 |
|
MD5 | 90069ebf899ce769ddad31ee13b49730 |
|
BLAKE2b-256 | 78d697c9341ae23a9b59f6f59fecf61ae276df855ac788e3396693f19f44002e |
File details
Details for the file visa_cli-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: visa_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770ccb3b81d33577af8d7efd9f63b13c631f248e8cce01b7df7f893e6a6da5d4 |
|
MD5 | b3a6509bde9c9da8021580c4f607f1e3 |
|
BLAKE2b-256 | 9627a88cda9d7831f23e0b1e5b7fbc0c83608f6f80ccb1289c3acb5f8a9c3596 |