✔ 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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whoami-2.1.8.tar.gz.
File metadata
- Download URL: whoami-2.1.8.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3229073673a2a30b931a9478e460a7641ca732230e2d6d87f07e0b2d7bb8cd8a
|
|
| MD5 |
c0041f85346591f8ea7cdf4f6d3c1af0
|
|
| BLAKE2b-256 |
726dfe827de4dfa40d698bb698683f5f19a05ab7fd3d703e535948bd4a3d82ce
|
File details
Details for the file whoami-2.1.8-py3-none-any.whl.
File metadata
- Download URL: whoami-2.1.8-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dac2eb9fcff99927f40a60758c28f19db6ccc40b36db9b3c0a2c1d3d8284710
|
|
| MD5 |
cff6c536110adf32b7e09bf961a518f8
|
|
| BLAKE2b-256 |
ed2d5e73c575e5b8d208281bf2575cd347701a2106848381550363a689cd5cfb
|