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
ip_address-1.5.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for ip_address-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972851c8d5ad5d927283e6a74f9af2debf40799baf4eb213f6b13b02495e4612 |
|
MD5 | 23c38d63eb157a6aa180fc0f1ee4f8d9 |
|
BLAKE2b-256 | 86b86585ce2de6d401a6a5c7b2500ee1514f4413d27bf68debabf7f7c9f680ac |