✔ A convenient library to get our ip (real public ip or private ip).
Project description
✔ Who am I ?
A convenient library to get our ip (real public ip or private ip).
Tutorial
pip3 install whoami
from whoami import get_my_ip, IPType
get_my_ip(IPType.WAN)
get_my_ip(IPType.LAN)
# the return type will be a list storing your ip.
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
whoami-2.1.8.tar.gz
(3.8 kB
view hashes)
Built Distribution
whoami-2.1.8-py3-none-any.whl
(4.8 kB
view hashes)