Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Python lib , convert phone to area code , or find area phone code

Project description

# py-cn-phone-area-code


Python lib , convert phone to area code , or find area phone code


https://github.com/netroby/py-cn-phone-area-code

## Install

>From pip

https://pypi.python.org/pypi/py-cn-phone-area-code

```
pip install -U py-cn-phone-area-code
```

## Usage


to use it, see tests

```

from py_cn_phone_area_code import *

def main():
print(find_area_by_phone("0595")) # == "泉州"
print(find_phone_by_area("泉州")) #== "0595"

```



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py_cn_phone_area_code-1.0.5-py2.py3-none-any.whl (9.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Nov 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page