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
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.4.5.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file citier-1.4.5.tar.gz
.
File metadata
- Download URL: citier-1.4.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.11 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d5e264a24b2219e3afa050ba18481155ae269836a14a2afe998c315687a91a0 |
|
MD5 | 20a118e3eb0fbac0adf79db8a9a50b5f |
|
BLAKE2b-256 | 0b3c446831dcd63f6a394a43d3fea13218c4bb876305423e7adbcc028a566d21 |
File details
Details for the file citier-1.4.5-py3-none-any.whl
.
File metadata
- Download URL: citier-1.4.5-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.11 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4957212276dcca481c226d9a5d0c9b43b933cb736bfc28833029b79c144cfa5c |
|
MD5 | 2f878df9c60453a78aa60f4975adae27 |
|
BLAKE2b-256 | 26ca13ec5af90a02b43f2a3f7dbdb78ca9a70171c417811d205240d31bd735d7 |