Skip to main content

✔ 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


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)

Uploaded Source

Built Distribution

whoami-2.1.8-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page