Skip to main content

IP Query

A CLI tool for gathering IP and domain name information.

Requirements

  • Python >= 3.7.
  • whois shell command.
  • nslookup shell command.
  • ping shell command.

Installation

Latest stable version:

pip install ipq

Latest stable version with speedups:

  • Adds aiodns and cchardet dependencies.
pip install "ipq[speedups]"

Development version:

pip install git+https://github.com/Jonxslays/ipq.git

Usage

# Check ipq version
$ ipq -v
$ ipq --version

# Get help
$ ipq -h
$ ipq --help

# Get info on a domain
$ ipq google.com

# Also works
$ ipq https://google.com

# Get info on an ip
$ ipq 8.8.8.8

# Ping the host
$ ipq -p google.com
$ ipq --ping 8.8.8.8

# Get ip and whois info on a domain
$ ipq -w google.com
$ ipq --whois google.com

# Fails: ips do not have whois info
$ ipq -w 8.8.8.8

License

ipq is licensed under the MIT License.

Metadata

Release files for ipq 0.2.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 ipq 0.2.1
File Size Uploaded Provenance Actions
ipq-0.2.1.tar.gz 7.2 kB Without provenance Details for ipq-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ipq 0.2.1
File Interpreter ABI Platform Actions
ipq-0.2.1-py3-none-any.whl Python 3 none any Details for ipq-0.2.1-py3-none-any.whl

Total release size: 18.9 kB

Release files / ipq-0.2.1.tar.gz

Download URL ipq-0.2.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6cee09dc054f71fd07e02db0d1bbd31d8994f9d4ab81a948814a77f3a53e61db
BLAKE2b-256 checksum
How to use checksums
355d0e91cb906cb306a2489f5f6eafb1dfc8173ff5303d4b74381ad6e1ad641c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.2 Linux/5.15.0-1019-azure

Release files / ipq-0.2.1-py3-none-any.whl

Download URL ipq-0.2.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4f1ae2f7c9e0041f62a00f88ec3f16280ec434f7ab456c76f024d55819d5e52
BLAKE2b-256 checksum
How to use checksums
163783be2419d49a181a616e687eae021eb87147731c26cbca73cb03fdce4ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.2 Linux/5.15.0-1019-azure

Security for ipq 0.2.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