Skip to main content

IP search based on 17mon.cn, the best IP database for China.

Project description

http://img.shields.io/pypi/v/17MonIP.svg?style=flat http://img.shields.io/travis/lxyu/17monip/master.svg?style=flat http://img.shields.io/pypi/dm/17MonIP.svg?style=flat

IP search based on 17mon.cn, the best IP database for china.

Source: http://tool.17mon.cn

Install

Supports python2.6 to python3.4 and pypy.

$ pip install 17monip

Usage

>>> import IP
>>> IP.find("www.baidu.com")
'中国\t浙江\t杭州'
>>> IP.find("127.0.0.1")
'本机地址\t本机地址'

CMD Util

$ iploc ele.me
中国    北京    北京
$ iploc aliyun.com
中国    浙江    杭州

Changelog

https://github.com/lxyu/17monip/blob/master/CHANGES.rst

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

17MonIP-0.2.6.tar.gz (570.4 kB view details)

Uploaded Source

Built Distribution

17MonIP-0.2.6-py2.py3-none-any.whl (571.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file 17MonIP-0.2.6.tar.gz.

File metadata

  • Download URL: 17MonIP-0.2.6.tar.gz
  • Upload date:
  • Size: 570.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for 17MonIP-0.2.6.tar.gz
Algorithm Hash digest
SHA256 1a43cc3b43779f6d490e2a6da1411fc92ce4d3c954da643b175b4a2c78f79398
MD5 138066addf12d0ab2aeefa7842786fa5
BLAKE2b-256 3d20ae1733f4bd0d44ff0bb4c719ef456f1c49741361429387088ac74969542f

See more details on using hashes here.

File details

Details for the file 17MonIP-0.2.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for 17MonIP-0.2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27833005e590b3ba1ff81243cc49c13c4cd10ec6aeed84802d9bd2026c50fe91
MD5 abcb609eb6b8ca029bfbc5b7b48adb63
BLAKE2b-256 c7cc46cbbc82ac36285f9eea1e0f7a1cca12cf1f3b6cc1929a73c510bb2bee1b

See more details on using hashes here.

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