semvec/pypi-packages huggingface dataset:
pipco 0.0.19
中国大陆 Python 安装库时不时需要换源
License: MIT
Requires Python: >=3.6.0


# 📦 pco「pip current origin」

## 安装

```bash
pip install pipco
```

## 查看帮助

```bash
pco help
```

## 镜像源使用方法

在 `pip install` 安装包名称 `-i` 镜像源

```bash
-i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
```


## 知识星球

![](https://bornforthis.cn/zsxq.jpg)

## 个人二维码

![](https://raw.githubusercontent.com/AndersonHJB/pipco/main/images/img.png)
py-countries-states-cities-database 2.2.13
A Python package to get countries, states and cities information
License: MIT
Keywords: countries states cities database

## API 🚀

🎉 Introducing **API** for Countries States Cities Database.

### 📦 Installation

```bash
pip install py-countries-states-cities-database
```

### 📚 Usage

```python
    from py_countries_states_cities_database import (
        get_all_cities,
        get_all_states,
        get_all_countries,
        get_all_sub_regions,
        get_all_regions,
        get_all_states_and_cities_nested,
        get_all_countries_and_states_nested,
        get_all_countries_and_cities_nested,
        get_file_path
    )

    # All functions return a list of dictionaries
    print(get_all_cities())
    print(get_all_states())
    print(get_all_countries())
    print(get_all_sub_regions())
    print(get_all_regions())
    print(get_all_states_and_cities_nested())
    print(get_all_countries_and_states_nested())
    print(get_all_countries_and_cities_nested())


    # File name options
    | "cities.json"
    | "states.json"
    | "countries.json"
    | "subregions.json"
    | "regions.json"
    | "countries+cities.json"
    | "countries+states.json"
    | "states+cities.json"
    | "countries+states+cities.json",

    # Get the file path
    print(get_file_path("cities.json"))
```