script to get the public IP (v4) of a PC
Project description
script to get the public IP (v4) of a PC
Tested against Windows 10 / Python 3.10 / Anaconda - should work on MacOS / Linux
pip install getpublicipv4
from getpublicipv4 import get_ip_of_this_pc
print(get_ip_of_this_pc())
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
getpublicipv4-0.10.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for getpublicipv4-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3cf0f9440f16a42159f1394b8641c72211c47fcb8762118db8741c3fbb1c7f1 |
|
MD5 | 44c992bd9e60c2a7139cdc6c0e21cd21 |
|
BLAKE2b-256 | c0f10b7ccacd194cdf7e6f3c5fb8e41457bd2dfb58c91793379409cd2aaca552 |