PyIpify


NamePyIpify JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/SigireddyBalasai/ipify
SummaryA simple python library to find the public ip address of the system.
upload_time2023-05-30 10:20:03
maintainer
docs_urlNone
authorSigireddyBalasai
requires_python
licenseMIT
keywords ipify ip ip address ipify.org ipify api ipify python ipify python library ipify python api ipify python library ipify python api ipify python package ipify ipify cli ipify asyncronous ipify syncronous
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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.





![languages](https://img.shields.io/github/languages/count/SigireddyBalasai/Pyipify)
![SearchHits](https://img.shields.io/github/search/SigireddyBalasai/Pyipify/ipify)
![Top Language](https://img.shields.io/github/languages/top/SigireddyBalasai/Pyipify)
![Dependencies Status](https://img.shields.io/librariesio/github/SigireddyBalasai/Pyipify)
![Total Issues](https://img.shields.io/github/issues/SigireddyBalasai/pyipify)
![Open Issues](https://img.shields.io/github/issues-raw/SigireddyBalasai/Pyipify)
![License](https://img.shields.io/github/license/SigireddyBalasai/Pyipify)


## 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

```py
pip install Pyipify
```


    
## Examples

get ip address syncronous

```py
from Pyipify.syncronous import find_ipv4,find_ipv6
ipv4_address = find_ipv4()
ipv6_address = find_ipv6()
print(ipv4_address,ipv6_address)
```

get ip address asyncronously
```py
from Pyipify.asyncronous 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 strted




## 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](https://choosealicense.com/licenses/apache-2.0/)


## Support

For support, email sigireddybalasai@gmail.com or open an issue here


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SigireddyBalasai/ipify",
    "name": "PyIpify",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "ipify,ip,ip address,ipify.org,ipify api,ipify python,ipify python library,ipify python api,ipify python library,ipify python api,ipify python package,ipify,ipify cli,ipify asyncronous,ipify syncronous",
    "author": "SigireddyBalasai",
    "author_email": "sigireddybalasai@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/37/a7/220e788576c18a7e656dc51654a8e325eb77555d35f48386e791fb9c836f/PyIpify-0.0.3.tar.gz",
    "platform": null,
    "description": "\r\n# Pyipify\r\n\r\nipify-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.\r\n\r\nThe 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.\r\n\r\n\r\n\r\n\r\n\r\n![languages](https://img.shields.io/github/languages/count/SigireddyBalasai/Pyipify)\r\n![SearchHits](https://img.shields.io/github/search/SigireddyBalasai/Pyipify/ipify)\r\n![Top Language](https://img.shields.io/github/languages/top/SigireddyBalasai/Pyipify)\r\n![Dependencies Status](https://img.shields.io/librariesio/github/SigireddyBalasai/Pyipify)\r\n![Total Issues](https://img.shields.io/github/issues/SigireddyBalasai/pyipify)\r\n![Open Issues](https://img.shields.io/github/issues-raw/SigireddyBalasai/Pyipify)\r\n![License](https://img.shields.io/github/license/SigireddyBalasai/Pyipify)\r\n\r\n\r\n## Features\r\n\r\n- Supports both IPv4 and IPv6 addresses\r\n- Supports both sync and async requests using requests and aiohttp libraries\r\n- Provides a CLI tool to get your IP address from the terminal\r\n- Provides a simple and intuitive interface\r\n## Installation\r\n\r\nInstall my-project with npm\r\n\r\n```py\r\npip install Pyipify\r\n```\r\n\r\n\r\n    \r\n## Examples\r\n\r\nget ip address syncronous\r\n\r\n```py\r\nfrom Pyipify.syncronous import find_ipv4,find_ipv6\r\nipv4_address = find_ipv4()\r\nipv6_address = find_ipv6()\r\nprint(ipv4_address,ipv6_address)\r\n```\r\n\r\nget ip address asyncronously\r\n```py\r\nfrom Pyipify.asyncronous import find_ipv4,find_ipv6\r\nimport asyncio\r\nasync def main():\r\n    ipv4_address = await find_ipv4()\r\n    ipv6_address = await find_ipv6()\r\n    return ipv4_address,ipv6_address\r\nasyncio.run(main())\r\n```\r\n\r\nuse cli to get ip address\r\n``` python -m ipify -h```\r\nto get strted\r\n\r\n\r\n\r\n\r\n## Contributing\r\n\r\nContributions are always welcome!\r\n\r\nSee `contributing.md` for ways to get started.\r\n\r\nPlease adhere to this project's `code of conduct`.\r\n\r\n\r\n## License\r\n\r\n[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/)\r\n\r\n\r\n## Support\r\n\r\nFor support, email sigireddybalasai@gmail.com or open an issue here\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple python library to find the public ip address of the system.",
    "version": "0.0.3",
    "project_urls": {
        "Download": "https://github.com/SigireddyBalasai/AsyncPywhatKit/archive/refs/tags/1.0.tar.gz",
        "Homepage": "https://github.com/SigireddyBalasai/ipify"
    },
    "split_keywords": [
        "ipify",
        "ip",
        "ip address",
        "ipify.org",
        "ipify api",
        "ipify python",
        "ipify python library",
        "ipify python api",
        "ipify python library",
        "ipify python api",
        "ipify python package",
        "ipify",
        "ipify cli",
        "ipify asyncronous",
        "ipify syncronous"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37a7220e788576c18a7e656dc51654a8e325eb77555d35f48386e791fb9c836f",
                "md5": "beb35bc09c03b67196a406d5e001db7d",
                "sha256": "ad8ad5a208253024855bf3d1995e284b0ad03b29fe6c447897a3996f0b62f13a"
            },
            "downloads": -1,
            "filename": "PyIpify-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "beb35bc09c03b67196a406d5e001db7d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11076,
            "upload_time": "2023-05-30T10:20:03",
            "upload_time_iso_8601": "2023-05-30T10:20:03.163583Z",
            "url": "https://files.pythonhosted.org/packages/37/a7/220e788576c18a7e656dc51654a8e325eb77555d35f48386e791fb9c836f/PyIpify-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-30 10:20:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SigireddyBalasai",
    "github_project": "ipify",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pyipify"
}
        
Elapsed time: 0.07241s