This release is a pre-release and may not be stable for production use.
cloudera-ai-inference
Python client for Cloudera AI Inference service.
Installation
pip install cloudera-ai-inference
Quick Start
from cloudera.ai.inference import create_client, ServingListEndpointsRequest
client = create_client(
host="https://<your-inference-service-domain>",
token="<CDP_TOKEN>",
)
# List endpoints
response = client.serving_list_endpoints(
ServingListEndpointsRequest(namespace="serving-default")
)
for ep in response.endpoints:
print(ep.name, ep.state)
Authentication
Generate a CDP workload auth token:
CDP_TOKEN=$(cdp iam generate-workload-auth-token --workload-name DE | jq -r '.token')
Then pass it to create_client:
client = create_client(host="https://...", token=CDP_TOKEN)
SSL
To disable SSL verification (development/self-signed certs only):
client = create_client(host="https://...", token="...", verify_ssl=False)
API Reference
Full API documentation: https://docs.cloudera.com/machine-learning/cloud/ai-inference/topics/ml-caii-use-caii.html
Metadata
Release files for cloudera.ai.inference 1.13.0.2000b17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudera_ai_inference-1.13.0.2000b17.tar.gz | 78.6 kB | Without provenance | Details for cloudera_ai_inference-1.13.0.2000b17.tar.gz |
Release files / cloudera_ai_inference-1.13.0.2000b17.tar.gz
| Download URL | cloudera_ai_inference-1.13.0.2000b17.tar.gz |
|---|---|
| Size | 78.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bedee14efe5360d117747803c6a7f75528c61d42e72cef92698c2daaff653fd2
|
|
BLAKE2b-256 checksum How to use checksums |
02b313506489cc3bcbb76d0d674eee39f06908fa10e7d946aaf4ebc8d07489fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for cloudera.ai.inference 1.13.0.2000b17
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.