ipinfo-simple is a lightweight Python script to retrieve detailed information about any IPv4 address using the ipinfo.io API. It can automatically detect your public IP or check any custom IP you enter — perfect for quick geo and ISP lookups.
- 📡 Auto-detects your public IP address
- 🌐 Fetches IP metadata:
- Region
- Country
- City
- Latitude & Longitude
- ISP / Organization
- Postal Code
- Time Zone
- ✅ Basic input validation for correct IPv4 format
- 💡 Simple, dependency-light, and easy to use
- Python 3.x
requestsmodule
Install with pip:
pip install requests