Skip to main content

成语与成语接龙查询工具

Project description

成语与成语接龙查询工具(Python 版)

pypi python_vesion

根据省市区获取中国经纬度和邮编

关于

特性

  1. 根据省市区获取经纬度和邮编。

安装

$ pip install china-region

依赖库

pandas>=0.23.4

升级

$ pip install -U china-region

使用示例

    >>> import china_region
    >>> china_region.search(county='全州')
    [{'province': '广西壮族自治区', 'city': '桂林市', 'county': '全州县', 'longitude': 111.07, 'latitude': 25.93, 'zipCode': '541500'}]
    >>> china_region.search(province='广西省',city='桂林')
    [{'province': '广西壮族自治区', 'city': '桂林市', 'county': '桂林市', 'longitude': 110.28, 'latitude': 25.28, 'zipCode': '541000'}]
    >>> china_region.search(province='广西省',city='桂林',county='兴安')
    [{'province': '广西壮族自治区', 'city': '桂林市', 'county': '兴安县', 'longitude': 110.67, 'latitude': 25.62, 'zipCode': '541399'}]

资源文件

北京市	北京市	北京市	116.4	39.9	100000
北京市	北京市	东城区	116.42	39.93	100010
北京市	北京市	西城区	116.37	39.92	100032
北京市	北京市	崇文区	116.43	39.88	100000
北京市	北京市	宣武区	116.35	39.87	100000
北京市	北京市	朝阳区	116.43	39.92	100020
北京市	北京市	丰台区	116.28	39.85	100071

相似项目: https://github.com/radiocontroller/china-location

Lincese

MIT License

Copyright (c) 2019  Thunder Bouble

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

china_idiom-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

china_idiom-0.0.1-py3-none-any.whl (4.3 MB view hashes)

Uploaded Python 3

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