Skip to main content

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_cn_phone_area_code-1.0.5-py2.py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 2 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