reliapi-sdk
Reliability layer for API calls: retries, caching, dedup, circuit breakers.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.7
- Package version: 1.0.7
- Generator version: 7.17.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit 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:
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:
import reliapi_sdk
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 reliapi_sdk
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
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 | GET /healthz | Healthz |
| DefaultApi | livez_livez_get | GET /livez | Livez |
| DefaultApi | metrics_metrics_get | GET /metrics | Metrics |
| DefaultApi | proxy_http_proxy_http_post | POST /proxy/http | Proxy HTTP request |
| DefaultApi | proxy_llm_proxy_llm_post | POST /proxy/llm | Proxy LLM request |
| DefaultApi | rapidapi_status_rapidapi_status_get | GET /rapidapi/status | RapidAPI Integration Status |
| DefaultApi | readyz_readyz_get | GET /readyz | Readyz |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for reliapi-sdk 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reliapi_sdk-1.0.7.tar.gz | 26.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reliapi_sdk-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.5 kB
Release files / reliapi_sdk-1.0.7.tar.gz
| Download URL | reliapi_sdk-1.0.7.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0086170189899b7ed196c2ad33bd49bb2def650d43ed64925f24ffcbcba3bb4
|
|
BLAKE2b-256 checksum How to use checksums |
5871fdaa41a1af74e18059e744d303748daf3142595c6137bebe9a0a5683cc2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / reliapi_sdk-1.0.7-py3-none-any.whl
| Download URL | reliapi_sdk-1.0.7-py3-none-any.whl |
|---|---|
| Size | 36.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
901d617d7898b3ed7700ae184a7fb003c529a63858990d90c1d9332942f869e6
|
|
BLAKE2b-256 checksum How to use checksums |
56956e1f21aa5dba08e31c097e120c29f63c611d1d3c0cf3e1bd250170f7778d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|