Skip to main content

A module to fetch your public IP address

Project description

IP-Address

A Python module to fetch your public IP address.

PyPi Version MIT License

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


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)

Uploaded Source

Built Distribution

ip_address-1.5.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page