skillfed

ogx_open_client

OpenAPI-generated Python client for OGX (alternative SDK with OpenAPI Generator tooling)

ogx-open-client v1.1.0.dev0 97.9K downloads/30d#13,122 on PyPI8,420
Permissive license MIT Active released

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-client

uv

uv add ogx-open-client

poetry

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 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Tags

llama model api clientopenapi python clientchat completions sdkogx api wrapperllm inference clientembeddings and batchesopenai-compatible api
llm-clientopenapi-generatedbatch-processing

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

whylabs-client

A Python client library for the WhyLabs API…

permissive · top 15,000 on PyPI

composio-openai

Bridges Composio's tool ecosystem to OpenAI's…

permissive · top 15,000 on PyPI

fastspec

Converts OpenAPI and Google Discovery API specs…

permissive · top 5,000 on PyPI

llama-index-embeddings-openai

Integrates OpenAI's embedding models with…

permissive · top 5,000 on PyPI

llama-index-embeddings-azure-openai

Integrates Azure OpenAI's embedding models with…

permissive · top 15,000 on PyPI

any-llm-sdk

Provides a unified Python interface to…

permissive · top 15,000 on PyPI

llama-index-program-openai

Integrates OpenAI-powered program synthesis…

permissive · top 5,000 on PyPI

llama-index-agent-openai

Integrates OpenAI language models with…

permissive · top 5,000 on PyPI

llama-index-llms-openai-like

Provides a thin wrapper to use…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-openai

Captures traces of OpenAI API calls (prompts,…

permissive · top 5,000 on PyPI