Skip to main content

An extensive Python Library to View, List and Validate Countries, States, and Cities data

Project description

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


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.4.tar.gz (2.5 kB view hashes)

Uploaded Source

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