Lookup location via ip using cz ip
Python Parse QQWry, based qqwry.pdf. You can get location by ip.
- str ip: IP address wanted to be queried.
- return a tuple, including country, province, city, isp.
pip install pyqqwry
>>> from pyqqwry.qqwry import QQWry >>> qq_wry = QQWry(path) >>> rst = qq_wry.query("184.108.40.206") >>> print rst
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyqqwry-1.1.1.tar.gz (3.6 kB)||File type Source||Python version None||Upload date||Hashes View|