A module to fetch your public IP address
Project description
IP-Address
A Python module to fetch your public IP address.
Table of Contents
Installation
You can install the ip-address module using pip:
pip install ip-address
Usage
Get
You can use this module to retrieve your public IP address. Here's a basic example:
import ip_address as ip
address = ip.get()
print("Your public IP address is:", address)
Contributing
Contributions to this project are welcome. If you have any improvements or bug fixes, please submit a pull request.
License
This project is licensed under the MIT License.
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
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 ip_address-1.5.0.tar.gz.
File metadata
- Download URL: ip_address-1.5.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7bee4e80909c08271cc9cf3298fcff5801c1b742acee4f7a1f2d0a8aff56f76
|
|
| MD5 |
b6030e4703fc637075ff256433664a9e
|
|
| BLAKE2b-256 |
43b280a8d99df0c5442fb34a4f4edc8476315993a62dbf995b884b3fa1b2fb07
|
File details
Details for the file ip_address-1.5.0-py3-none-any.whl.
File metadata
- Download URL: ip_address-1.5.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
972851c8d5ad5d927283e6a74f9af2debf40799baf4eb213f6b13b02495e4612
|
|
| MD5 |
23c38d63eb157a6aa180fc0f1ee4f8d9
|
|
| BLAKE2b-256 |
86b86585ce2de6d401a6a5c7b2500ee1514f4413d27bf68debabf7f7c9f680ac
|