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
andcchardet
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 hashes)
Built Distribution
ipq-0.2.1-py3-none-any.whl
(11.7 kB
view hashes)