Skip to main content

qy ip parse

qy ip parse.

Installing

Install and update using pip:

$ pip install -U qy-ip-parse

A Simple Example

import time

from qy_ip_parse import IP_IP

IP_IP.init(host='127.0.0.1', port=6379, pwd=None, ex=10)


if __name__ == '__main__':
    s = time.time()
    ip = IP_IP.parse('111.12.33.11')
    print(ip.country_name, ip.region_name, ip.city_name, ip.isp_domain)
    print(time.time() - s)
    time.sleep(5)
    s = time.time()
    ip = IP_IP.parse('111.12.32.11')
    print(ip.country_name, ip.region_name, ip.city_name, ip.isp_domain)
    print(time.time() - s)
    time.sleep(6)
    s = time.time()
    ip = IP_IP.parse('111.12.35.11')
    print(ip.country_name, ip.region_name, ip.city_name, ip.isp_domain)
    print(time.time() - s)
    time.sleep(5)
    s = time.time()
    ip = IP_IP.parse('111.12.55.11')
    print(ip.country_name, ip.region_name, ip.city_name, ip.isp_domain)
    print(time.time() - s)

Metadata

Release files for qy-ip-parse 0.0.8

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

Source distribution (sdist)

Source distribution for qy-ip-parse 0.0.8
File Size Uploaded Provenance Actions
qy_ip_parse-0.0.8.tar.gz 3.1 kB Without provenance Details for qy_ip_parse-0.0.8.tar.gz

Release files / qy_ip_parse-0.0.8.tar.gz

Download URL qy_ip_parse-0.0.8.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
17f5bb5a950e7a6449de2c6e36a616f9c683f4958d2b5199e86cef19e8d5a3b0
BLAKE2b-256 checksum
How to use checksums
7b188262616728615ddd5818cb85372302061ba5fbae1b4891c5d96d0b02803e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.0 importlib-metadata/4.6.3 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.0

Security for qy-ip-parse 0.0.8

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