citier
Python Library to Validate and List Countires, States and cities.
Installation
pip install citier
Usage
Country
from citier.country import validate_country, countries_list
Validate any Country
validate_country("Pakistan")
List a Range of countries
countries_list(1,2)
List all Countries
countries_list()
State
from citier.state import validate_state, list_states
Validate a State
validate_state("Punjab")
List All States of a Country
list_states("Pakistan")
City
from citier.city import list_cities, list_state_cities
List All Cities of a Country
list_cities("Pakistan")
List All Cities of a State
list_state_cities("Punjab")