Skip to main content
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

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.4.tar.gz (500.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for 17MonIP-0.2.4.tar.gz
Algorithm Hash digest
SHA256 01b7b59272e571bb2d59614ea6440a4abaed6d829a6eb8605aeeec376873a7ab
MD5 49a2cf04767740c064e95ba8b3fd2c92
BLAKE2b-256 a95f6499086e5a07736e9ea35ca92453bdf57abf06788a654ddb208de92b0612

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page