An extensive Python Library to View, List and Validate Countries, States, and Cities data
Project description
If you find any bug or incorrect data kindly contact me at [https://www.linkedin.com/in/ocman-nazir-briet/] or
Open Pull request to my GitHub [https://github.com/ocman-nazir-briet]
Thanks.
# 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")
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
citier-1.3.7.2.tar.gz
(2.6 kB
view hashes)