fudong1127 / 17monip

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

Home Page:http://lxyu.github.io/17monip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

17MonIP Python Lib

image

image

image

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

About

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

http://lxyu.github.io/17monip


Languages

Language:Python 100.0%