--- id: ogx-open-client version: "1.1.0.dev0" license: MIT license_treatment: permissive maintenance: active --- # ogx_open_client — OpenAPI-generated Python client for OGX (alternative SDK with OpenAPI Generator tooling) License: permissive · Maintenance: active · Downloads: 97.9K/mo ## 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 above — 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 pip install ogx-open-client uv add ogx-open-client poetry add ogx-open-client ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 97.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags llama model api client, openapi python client, chat completions sdk, ogx api wrapper, llm inference client, embeddings and batches, openai-compatible api, llm-client, openapi-generated, batch-processing [View on SkillFed](https://skillfed.io/packages/ogx-open-client) · [View on PyPI](https://pypi.org/project/ogx-open-client/)