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 details)

Uploaded Source

File details

Details for the file pyqqwry-1.1.1.tar.gz.

File metadata

  • Download URL: pyqqwry-1.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyqqwry-1.1.1.tar.gz
Algorithm Hash digest
SHA256 64f1ba5b30b55644a2627af8086cd8a76aa84223d72dbe83fd6810b7601ea98a
MD5 a6be43f676ac4b6e82864f46443e1c3c
BLAKE2b-256 ff55901cc78f11b96fb3a82b0586b13c965fed8b3843ca0f64b293464c26259c

See more details on using hashes here.

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