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.
Release files for ip-address 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ip_address-1.5.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ip_address-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / ip_address-1.5.0.tar.gz
| Download URL | ip_address-1.5.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7bee4e80909c08271cc9cf3298fcff5801c1b742acee4f7a1f2d0a8aff56f76
|
|
BLAKE2b-256 checksum How to use checksums |
43b280a8d99df0c5442fb34a4f4edc8476315993a62dbf995b884b3fa1b2fb07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / ip_address-1.5.0-py3-none-any.whl
| Download URL | ip_address-1.5.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
972851c8d5ad5d927283e6a74f9af2debf40799baf4eb213f6b13b02495e4612
|
|
BLAKE2b-256 checksum How to use checksums |
86b86585ce2de6d401a6a5c7b2500ee1514f4413d27bf68debabf7f7c9f680ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|