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.

Source Distribution

pyqqwry-1.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

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