Skip to main content

openapiipify

OpenAPI client for ipify, a simple public IP address API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 6.2.1
  • Package version: 6.2.1
  • Generator version: 7.26.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://github.com/oapicf/openapi-ipify

Requirements.

Python 3.10+

Packaging uses standard [project] metadata and [dependency-groups] (PEP 621/735). Install the package with python -m pip install .; install development dependencies with Poetry 2.2 or newer using poetry install, or pip 25.1 or newer using python -m pip install --group dev. The latter installs the group, not the package.

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/oapicf/openapi-ipify.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/openapi-ipify.git)

Then import the package:

import openapiipify

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import openapiipify

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import openapiipify
from openapiipify.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api64.ipify.org
# See configuration.py for a list of all supported configuration parameters.
configuration = openapiipify.Configuration(
    host = "https://api64.ipify.org"
)



# Enter a context with an instance of the API client
with openapiipify.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapiipify.DefaultApi(api_client)
    format = 'format_example' # str | Response format (optional)
    param_callback = 'param_callback_example' # str | JSONP callback function name (optional)

    try:
        # Get your public IP address
        api_response = api_instance.get_ip(format=format, param_callback=param_callback)
        print("The response of DefaultApi->get_ip:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->get_ip: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api64.ipify.org

Class Method HTTP request Description
DefaultApi get_ip GET / Get your public IP address

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

blah+oapicf@cliffano.com

Metadata

Release files for openapiipify 6.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openapiipify 6.2.1
File Size Uploaded Provenance Actions
openapiipify-6.2.1.tar.gz 24.5 kB Without provenance Details for openapiipify-6.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openapiipify 6.2.1
File Interpreter ABI Platform Actions
openapiipify-6.2.1-py3-none-any.whl Python 3 none any Details for openapiipify-6.2.1-py3-none-any.whl

Total release size: 50.2 kB

Release files / openapiipify-6.2.1.tar.gz

Download URL openapiipify-6.2.1.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c9e8ecf0d9ea077d238f9bd83915cd2508bc4ccbc05cbdb78a52b00285429de
BLAKE2b-256 checksum
How to use checksums
bb0a4e1b1d73194ecc63ea6d59f64ec374631ba023c8854eb23c3db8f0a3c2da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / openapiipify-6.2.1-py3-none-any.whl

Download URL openapiipify-6.2.1-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62d1b8a3a1e9886a034f4e9b8415c523e381cde7d3d4894c68fa96bc8519bfff
BLAKE2b-256 checksum
How to use checksums
77954683aaf22b1b1321df27372958cf99438fc18a299b6c20aa68c598d0c688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.8

Security for openapiipify 6.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page