Download Latest Version ipfetch.7z (2.1 kB) Google Add to Preferred Sources
Home
Name Modified Size InfoDownloads / Week
ipfetch.7z 2024-10-12 2.1 kB
README 2024-10-12 287 Bytes
LICENSE 2024-10-12 1.1 kB
ipfetch.py 2024-10-12 1.9 kB
version.py 2024-10-12 61 Bytes
Totals: 5 Items   5.5 kB 0
This small but fine Python Snippet requests the public IP adress (supports IPv4 and IPv6)
at myip.is and outputs the result. 

It might be useful to get your public IP adress on the command line, or even to check
whether your internet connection is working. 

USAGE : 
python ipfetch.py
Source: README, updated 2024-10-12