Find your IP address (both internal(local) and external) or check your connection status.
Project description
Find-Your-IP
This module helps you to find out your both internal(local) and external IP also you can figure out your internet connection status. Import Find-Your-IP in your script and use it easily.
Installing
Download this module directly on github or install it with pip
installation.
Pip installation is disable until package validation on PyPI.
How to use
import FindMyIP as ip
-
Internet connection status:
>>> ip.internet() True # If the internet is connected. False # If the internet is disconnected.
-
Local IP:
>>> local_ip = ip.internal() >>> print(local_ip) 192.168.1.102
-
External IP:
>>> real_ip = ip.external() >>> print(real_ip) 82.212.251.142
Change Log:
-
- Released
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
FindMyIP-1.1.0.tar.gz
(2.1 kB
view hashes)