ogx_open_client
OpenAPI-generated Python client for OGX (alternative SDK with OpenAPI Generator tooling)
What it is and what it does
This is an OpenAPI-generated client library for interacting with the OGX API, a service designed around Llama models. It provides Python bindings to a large set of endpoints covering chat completions, embeddings, batch processing, file uploads, vector stores, conversations, and administrative operations. The package is automatically generated from an OpenAPI specification and includes both stable production-ready APIs and experimental pre-release APIs.
You use it by instantiating an API client with a host configuration, then calling methods on API classes like AdminApi, ChatCompletionsApi, EmbeddingsApi, and BatchesApi. It depends on httpx and requests for HTTP transport, pydantic for data validation, python-dateutil for timestamp handling, and fire for CLI support. The package requires Python 3.12+ and is currently at version 1.1.0.dev0, indicating active development.
Use it for:
- Build a Python application that calls Llama model inference through the OGX API without writing raw HTTP requests
- Manage batch processing jobs for multiple API requests through the Batches API endpoints
- Implement chat-based applications using the ChatCompletionsApi for conversation management
- Upload and process files for vector store operations using the Files and FileBatches APIs
- Query provider and connector information through the AdminApi for service introspection
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides an OpenAPI-generated Python client for the OGX API, offering interfaces to Llama model endpoints including chat completions, embeddings, batches, and file operations.
Yes, with conditions. The package is actively maintained, has low install friction, and carries a permissive MIT license. However, it requires Python 3.12+, is in beta status (1.1.0.dev0), and mixes stable and experimental APIs—verify that the specific endpoints you need are production-ready before deploying to production. No known security vulnerabilities.
Install
ogx-open-client on PyPI
pip
pip install ogx-open-clientuv
uv add ogx-open-clientpoetry
poetry add ogx-open-clientInstalling ogx_open_client
Before you install
Low install friction with six runtime dependencies. Active maintenance with recent commits and a substantial repository presence (8420 stars). Package is in beta status and requires Python 3.12+.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install ogx-open-client
import ogx_open_client
from ogx_open_client.rest import ApiException
configuration = ogx_open_client.Configuration(host="http://any-hosted-ogx.com")
with ogx_open_client.ApiClient(configuration) as api_client:
api_instance = ogx_open_client.ChatCompletionsApi(api_client)
api_response = api_instance.create(...) # Pass request body
Requires Python 3.12+. You must have a running OGX service endpoint or know its host URL to configure the client.
Verify before relying
- Whether experimental APIs are production-safe or genuinely pre-release only
- Stability guarantees between dev releases and when a stable 1.0 is planned
- Whether the OGX service endpoint requires authentication or API keys
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — python-dateutil, httpx, pydantic, typing-extensions, requests, fire |
| Maintenance | actively maintained — 61 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,869/month — #13,122 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ogx_open_client-1.1.0.dev0-py3-none-any.whl
Keywords: ogx, ai, ml, openai, llm, inference, agents, api
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
whylabs-clientA Python client library for the WhyLabs API…
permissive · top 15,000 on PyPI
composio-openaiBridges Composio's tool ecosystem to OpenAI's…
permissive · top 15,000 on PyPI
fastspecConverts OpenAPI and Google Discovery API specs…
permissive · top 5,000 on PyPI
llama-index-embeddings-openaiIntegrates OpenAI's embedding models with…
permissive · top 5,000 on PyPI
llama-index-embeddings-azure-openaiIntegrates Azure OpenAI's embedding models with…
permissive · top 15,000 on PyPI
any-llm-sdkProvides a unified Python interface to…
permissive · top 15,000 on PyPI
llama-index-program-openaiIntegrates OpenAI-powered program synthesis…
permissive · top 5,000 on PyPI
llama-index-agent-openaiIntegrates OpenAI language models with…
permissive · top 5,000 on PyPI
llama-index-llms-openai-likeProvides a thin wrapper to use…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-openaiCaptures traces of OpenAI API calls (prompts,…
permissive · top 5,000 on PyPI