Socket
Socket
Sign inDemoInstall

citier

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citier

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


Maintainers
1

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")

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc