Skip to main content

A CLI tool for gathering IP and domain name information.

Project description

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.

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

ipq-0.2.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

ipq-0.2.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file ipq-0.2.1.tar.gz.

File metadata

  • Download URL: ipq-0.2.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.2 Linux/5.15.0-1019-azure

File hashes

Hashes for ipq-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6cee09dc054f71fd07e02db0d1bbd31d8994f9d4ab81a948814a77f3a53e61db
MD5 e7f5b95ebb16766b6622b849e64e3493
BLAKE2b-256 355d0e91cb906cb306a2489f5f6eafb1dfc8173ff5303d4b74381ad6e1ad641c

See more details on using hashes here.

File details

Details for the file ipq-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ipq-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.2 Linux/5.15.0-1019-azure

File hashes

Hashes for ipq-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4f1ae2f7c9e0041f62a00f88ec3f16280ec434f7ab456c76f024d55819d5e52
MD5 d736b9320f20463718cc00b829653c39
BLAKE2b-256 163783be2419d49a181a616e687eae021eb87147731c26cbca73cb03fdce4ab9

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