Get IP information from terminal
Project description
IPInfo
A command-line tool to get detailed information about any public IP address.
Installation
git clone https://github.com/Mehdi23-bit/ipinfo
cd ipinfo
pip install -r requirements.txt
Usage
python ipinfo.py <ip>
Examples
python ipinfo.py 8.8.8.8
python ipinfo.py 1.1.1.1
Error Handling
| Input | Response |
|---|---|
| Private IP | private addr |
| Loopback | loopback addr |
| Invalid IP | not a valid IP |
| No argument | Usage message |
| No internet | Connection error |
Requirements
requests colorama
Author
Mehdi — @Mehdi23-bit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sipinfo_cli-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sipinfo_cli-0.1.0.tar.gz.
File metadata
- Download URL: sipinfo_cli-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52b2e4c6767ff1a85770f2502575c22e40f5322a3550a437518404df3668d46
|
|
| MD5 |
6e33bffad2264f9f11c098104119bf8e
|
|
| BLAKE2b-256 |
b005990c3cd3b8a9cd463e927d9f5941ec7db24839f2494a3ca0858f457ca694
|
File details
Details for the file sipinfo_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sipinfo_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
919ce9b1cfa248f4c877a9142bc1adcb30aafeb2dbf731b950890cf7b3d7758f
|
|
| MD5 |
611086ea67f832eba3d7e30f65869572
|
|
| BLAKE2b-256 |
e6878b9c3cb306a7dae5957bcce1b7c201b8a07d0b96e80c1ac3e75807249435
|