Lookup location via ip using cz ip
Project description
Python Parse QQWry, based qqwry.pdf. You can get location by ip.
API
query * str ip: IP address wanted to be queried. * return a tuple, including country, province, city, isp.
Install
pip install pyqqwry
Usage
>>> from pyqqwry.qqwry import QQWry >>> qq_wry = QQWry(path) >>> rst = qq_wry.query("59.117.128.17") >>> print 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
pyqqwry-1.1.0.tar.gz
(3.6 kB
view hashes)