pyipify 0.0.3.1

Last updated:

0 purchases

pyipify 0.0.3.1 Image
pyipify 0.0.3.1 Images
Add to Cart

Description:

pyipify 0.0.3.1

Pyipify
ipify-py is a python module that allows you to interact with the ipify API in synchronous and asynchronous ways. It also provides a command-line interface for easy access.
The ipify API is a simple service that returns your public IP address. You can use it to find out your IP address from any device or platform.







Features

Supports both IPv4 and IPv6 addresses
Supports both sync and async requests using requests and aiohttp libraries
Provides a CLI tool to get your IP address from the terminal
Provides a simple and intuitive interface

Installation
Install my-project with npm
pip install Pyipify

Examples
get ip address synchronous
from Pyipify.synchronous import find_ipv4,find_ipv6
ipv4_address = find_ipv4()
ipv6_address = find_ipv6()
print(ipv4_address,ipv6_address)

get ip address asynchronously
from Pyipify.asynchronous import find_ipv4,find_ipv6
import asyncio
async def main():
ipv4_address = await find_ipv4()
ipv6_address = await find_ipv6()
return ipv4_address,ipv6_address
asyncio.run(main())

use cli to get ip address
python -m ipify -h
to get started
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct.
License
Apache 2.0
Support
For support, email [email protected] or open an issue here

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.