FindMyIP-1.1.1
توضیحات
Find your IP address (both internal(local) and external) or check your connection status.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | FindMyIP-1.1.1 |
| نام | FindMyIP |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mehran Seifalinia |
| ایمیل نویسنده | mehran.seifalinia@gmail.com |
| آدرس صفحه اصلی | https://github.com/Mehran-Seifalinia/Find-Your-IP |
| آدرس اینترنتی | https://pypi.org/project/FindMyIP/ |
| مجوز | - |
# Find My 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 **FindMyIP** in your script and use it easily.
Installing
----------
Download this module directly on github or install it with ```pip``` installation.
```shell
pip install FindMyIP
```
How to use
----------
```python3
import FindMyIP as ip
```
* Internet connection status:
```python3
>>> ip.internet()
True # If the internet is connected.
False # If the internet is disconnected.
```
* Local IP:
```python3
>>> local_ip = ip.internal()
>>> print(local_ip)
192.168.1.102
```
* External IP:
```python3
>>> real_ip = ip.external()
>>> print(real_ip)
82.212.251.142
```
# Change Log:
* [v 1.1.0:](https://github.com/Mehran-Seifalinia/FindMyIP/commit/b47caa25bc8951f7223ceed6aca5df5ca4d899a6)
* Released
نحوه نصب
نصب پکیج whl FindMyIP-1.1.1:
pip install FindMyIP-1.1.1.whl
نصب پکیج tar.gz FindMyIP-1.1.1:
pip install FindMyIP-1.1.1.tar.gz