Skip to main content

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.

Files for pyqqwry, version 1.1.1
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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page