中国地区邮编经纬度/工具.
Project description
中国地区邮编经纬度/工具(Python 版)
中国地区的主要城市的经纬度与邮编
关于
- GitHub: https://github.com/sfyc23/China-zip-code-latitude-and-longitude
- License: MIT license
- PyPI: https://pypi.org/project/china-region/
- Python version: >= 3.5
特性
- 使用地区的名称搜索获取经纬度与邮编。
安装
$ 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
Lincese
MIT License
Copyright (c) 2019 Thunder Bouble
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
china_region-0.0.8.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for china_region-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fffcfcc205e169d2947ca85eb85524133c1298140f337fea05f85afcf861cff |
|
MD5 | 46c5a349cae428d547666985f2185ad7 |
|
BLAKE2b-256 | 12ae4c30cea41b8c998a316bb68a7a699304960a800995d9dcf9ded2c265e5e0 |