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
requests
module
Install with pip:
pip install requests