Metadata-Version: 2.4
Name: reliapi-sdk
Version: 1.0.5
Summary: Python SDK for reliapi - Reliability layer for API calls
Home-page: 
Author: KikuAI-Lab
Author-email: KikuAI-Lab <dev@kikuai.dev>
License: MIT
Project-URL: Homepage, https://github.com/kikuai-lab/reliapi
Project-URL: Bug Tracker, https://github.com/kikuai-lab/reliapi/issues
Project-URL: Documentation, https://reliapi.kikuai.dev
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.26.0
Requires-Dist: pydantic>=2.0.0
Dynamic: author

# reliapi-sdk
Reliability layer for API calls: retries, caching, dedup, circuit breakers.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.5
- Package version: 1.0.5
- Generator version: 7.17.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/kikuai-lab/reliapi](https://github.com/kikuai-lab/reliapi)

## Requirements.

Python 3.9+

## Installation & Usage
### pip install

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

```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)

Then import the package:
```python
import reliapi_sdk
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import reliapi_sdk
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import reliapi_sdk
from reliapi_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = reliapi_sdk.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with reliapi_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = reliapi_sdk.DefaultApi(api_client)

    try:
        # Healthz
        api_response = api_instance.healthz_healthz_get()
        print("The response of DefaultApi->healthz_healthz_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->healthz_healthz_get: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**healthz_healthz_get**](docs/DefaultApi.md#healthz_healthz_get) | **GET** /healthz | Healthz
*DefaultApi* | [**livez_livez_get**](docs/DefaultApi.md#livez_livez_get) | **GET** /livez | Livez
*DefaultApi* | [**metrics_metrics_get**](docs/DefaultApi.md#metrics_metrics_get) | **GET** /metrics | Metrics
*DefaultApi* | [**proxy_http_proxy_http_post**](docs/DefaultApi.md#proxy_http_proxy_http_post) | **POST** /proxy/http | Proxy HTTP request
*DefaultApi* | [**proxy_llm_proxy_llm_post**](docs/DefaultApi.md#proxy_llm_proxy_llm_post) | **POST** /proxy/llm | Proxy LLM request
*DefaultApi* | [**rapidapi_status_rapidapi_status_get**](docs/DefaultApi.md#rapidapi_status_rapidapi_status_get) | **GET** /rapidapi/status | RapidAPI Integration Status
*DefaultApi* | [**readyz_readyz_get**](docs/DefaultApi.md#readyz_readyz_get) | **GET** /readyz | Readyz


## Documentation For Models

 - [HTTPProxyRequest](docs/HTTPProxyRequest.md)
 - [HTTPValidationError](docs/HTTPValidationError.md)
 - [LLMProxyRequest](docs/LLMProxyRequest.md)
 - [ValidationError](docs/ValidationError.md)
 - [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.


## Author

dev@kikuai.dev


