semvec/pypi-packages huggingface dataset:
china-region 0.0.11
中国地区邮编经纬度/工具.
License: MIT
Requires Python: >=3.6.0
Keywords: China,zipCode,latitude,longitude


中国地区邮编经纬度/工具（Python 版）
=============================
[![pypi](https://img.shields.io/badge/pypi-0.0.11-yellow.svg)](https://pypi.org/project/china-region/) 
![python_vesion](https://img.shields.io/badge/python-%3E3-green.svg)  


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

## 关于

* 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

## 特性

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


## 安装

    $ pip install china-region

## 依赖库

    pandas>=0.23.4

## 升级

    $ pip install -U china-region

## 使用示例
```
    # 获取满足条件的所有地址
    >>> import china_region
    >>> china_region.search_all(county='华安')
    [{'province': '福建省', 'city': '漳州市', 'county': '华安县', 'longitude': 117.53, 'latitude': 25.02, 'zipCode': '363800'}]
    >>> china_region.search_all(province='福建省',city='华安')
    [{'province': '福建省', 'city': '漳州市', 'county': '华安县', 'longitude': 117.53, 'latitude': 25.02, 'zipCode': '363800'}]
    >>> china_region.search_all(province='贵州',city='贵阳',county='白云')
    [{'province': '贵州省', 'city': '贵阳市', 'county': '白云区', 'longitude': 106.65, 'latitude': 26.68, 'zipCode': '550014'}]

    # 获取满足条件的第一个地址
    >>> china_region.search('辽宁 铁岭')
    {'province': '辽宁省', 'city': '铁岭市', 'county': '铁岭市', 'longitude': 123.83, 'latitude': 42.28, 'zipCode': '112000'}

    # 获取一个随机的地址
    >>> china_region.sample()
    {'province': '山西省', 'city': '临汾市', 'county': '洪洞县', 'longitude': 111.67, 'latitude': 36.25, 'zipCode': '041600'}

```

## 资源文件

* [region.csv](https://github.com/sfyc23/China-zip-code-latitude-and-longitude/blob/c60a0d5ebeabbe4e316105b0f12a036e12928d9d/resource/region.csv)
* [region.txt](https://github.com/sfyc23/China-zip-code-latitude-and-longitude/blob/c60a0d5ebeabbe4e316105b0f12a036e12928d9d/resource/region.txt)
* [region.json](https://github.com/sfyc23/China-zip-code-latitude-and-longitude/blob/c60a0d5ebeabbe4e316105b0f12a036e12928d9d/resource/region.json)

```
北京市	北京市	北京市	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](https://github.com/radiocontroller/china-location)

## Lincese

    MIT License

    Copyright (c) 2019  Thunder Bouble
crawlib 0.1.1
tool set for crawler project.
License: MIT


.. image:: https://readthedocs.org/projects/crawlib/badge/?version=latest
    :target: https://crawlib.readthedocs.io/index.html
    :alt: Documentation Status

.. image:: https://circleci.com/gh/MacHu-GWU/crawlib-project.svg?style=svg
    :target: https://circleci.com/gh/MacHu-GWU/crawlib-project

.. image:: https://img.shields.io/pypi/v/crawlib.svg
    :target: https://pypi.python.org/pypi/crawlib

.. image:: https://img.shields.io/pypi/l/crawlib.svg
    :target: https://pypi.python.org/pypi/crawlib

.. image:: https://img.shields.io/pypi/pyversions/crawlib.svg
    :target: https://pypi.python.org/pypi/crawlib

.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/crawlib-project

------


.. image:: https://img.shields.io/badge/Link-Document-blue.svg
      :target: https://crawlib.readthedocs.io/index.html

.. image:: https://img.shields.io/badge/Link-API-blue.svg
      :target: https://crawlib.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg
      :target: https://crawlib.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg
      :target: `install`_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
      :target: https://github.com/MacHu-GWU/crawlib-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
      :target: https://github.com/MacHu-GWU/crawlib-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
      :target: https://github.com/MacHu-GWU/crawlib-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
      :target: https://pypi.org/pypi/crawlib#files


Welcome to ``crawlib`` Documentation
==============================================================================

``crawlib`` is a board-first-search crawler framework for targeting-crawler (For those you know where's your data located and how's been organized). You just need to focus on the data model and html extraction logic, and let the framework do the rest of things like:

- duplicate filter
- recursive crawling
- status tracking
- periodical update

Currently it supports mongodb as backend storage only.


.. _install:

Install
------------------------------------------------------------------------------

``crawlib`` is released on PyPI, so all you need is:

.. code-block:: console

    $ pip install crawlib

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade crawlib