Skip to main content

pyqqwry 基于纯真ip库,查询ip对应的地点

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

Metadata

Release files for pyqqwry 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqqwry 1.1.1
File Size Uploaded Provenance Actions
pyqqwry-1.1.1.tar.gz 3.6 kB Without provenance Details for pyqqwry-1.1.1.tar.gz

Release files / pyqqwry-1.1.1.tar.gz

Download URL pyqqwry-1.1.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
64f1ba5b30b55644a2627af8086cd8a76aa84223d72dbe83fd6810b7601ea98a
BLAKE2b-256 checksum
How to use checksums
ff55901cc78f11b96fb3a82b0586b13c965fed8b3843ca0f64b293464c26259c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyqqwry 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page