17monip
所属分类:数据库系统
开发工具:Python
文件大小:683KB
下载次数:0
上传日期:2017-05-18 04:50:20
上 传 者:
sh-1993
说明: 基于17mon.cn的IP搜索,中国最好的IP数据库。
(IP search based on 17mon.cn, the best IP database for China.)
文件列表:
.travis.yml (145, 2015-10-14)
CHANGES.rst (1185, 2015-10-14)
IP (0, 2015-10-14)
IP\17monipdb.dat (1830618, 2015-10-14)
IP\__init__.py (96, 2015-10-14)
IP\cmd.py (300, 2015-10-14)
IP\ip.py (3038, 2015-10-14)
MANIFEST.in (39, 2015-10-14)
setup.cfg (28, 2015-10-14)
setup.py (1181, 2015-10-14)
test_ip.py (617, 2015-10-14)
17MonIP Python Lib
==================
.. image:: http://img.shields.io/pypi/v/17MonIP.svg?style=flat
:target: https://pypi.python.org/pypi/17MonIP
.. image:: http://img.shields.io/travis/lxyu/17monip/master.svg?style=flat
:target: https://travis-ci.org/lxyu/17monip
.. image:: http://img.shields.io/pypi/dm/17MonIP.svg?style=flat
:target: https://pypi.python.org/pypi/17MonIP
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.
.. code:: bash
$ pip install 17monip
Usage
-----
.. code:: python
>>> import IP
>>> IP.find("www.baidu.com")
'中国\t浙江\t杭州'
>>> IP.find("127.0.0.1")
'本机地址\t本机地址'
CMD Util
--------
.. code:: bash
$ iploc ele.me
中国 北京 北京
$ iploc aliyun.com
中国 浙江 杭州
Changelog
---------
https://github.com/lxyu/17monip/blob/master/CHANGES.rst
近期下载者:
相关文件:
收藏者: