Skip to main content

Genorbex SDK for Python

The official Python client for Genorbex Cloud. It provides named clients for the platform's service families, universal authenticated REST access, GFlow Prompt Registry integration, and OpenAI-compatible model serving.

Installation

python -m pip install genorbex-sdk

The distribution exposes the modern genorbex_sdk import and retains genorbex and gflow for notebook compatibility.

Authentication

export GENORBEX_API_KEY="your-api-key"
export GENORBEX_HOST="https://www.genorbex.com"

Managed Genorbex notebooks receive short-lived credentials automatically.

Cloud services

from genorbex_sdk import GenorbexClient

client = GenorbexClient()

warehouses = client.database.list("warehouses")
instances = client.compute.list("instances")
pipelines = client.data_pipelines.list()
notebooks = client.data_engineering.list("notebooks")

Named clients cover cloud services, compute, object storage, Drive, OrbexDB, DBVisual analytics, data pipelines, data engineering, workspace, ingestion, migration, AI/ML, agents, streaming, connectors, orchestration, identity, teams, notifications, sustainability, web services, domains, security, and integrations.

Every named service supports list, get, create, update, replace, delete, and the lower-level request method. The top-level universal request method makes every current or future Genorbex endpoint accessible:

result = client.request(
    "POST",
    "/api/orbexdb/query",
    data={"sql": "SELECT 1", "warehouseId": "warehouse-id"},
)

GFlow prompts and model serving

import gflow
from genorbex_sdk import GenorbexClient

prompt = gflow.genai.load_prompt("prompts:/main.data_science.sales_summary@production")
formatted = prompt.format(
    number_of_sentences=3,
    sales_data="Revenue increased by 12% in July.",
)

client = GenorbexClient().serving_endpoints.get_open_ai_client()
response = client.chat.completions.create(
    model="genorbex-gpt-5-4",
    messages=[{"role": "user", "content": formatted}],
)
print(response.choices[0].message.content)

Python 3.9 or newer is required. The runtime uses only the Python standard library.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genorbex_sdk-0.2.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genorbex_sdk-0.2.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file genorbex_sdk-0.2.1.tar.gz.

File metadata

  • Download URL: genorbex_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for genorbex_sdk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1f9ed234b0e2f44fa9c858abd0e454c02ab21830e691d8ee8a34ff570e50907f
MD5 86ea9031333a0ca527506a85a62e0b7b
BLAKE2b-256 860eca90fdb28dc8a3df0bdc93ccdb8f5947ba57b8c7c5dc96d1048e564e2d9c

See more details on using hashes here.

File details

Details for the file genorbex_sdk-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: genorbex_sdk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for genorbex_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb7b1369ca51a619ee09119747672f003c0c4acacc0e2b3aafce746906576f5e
MD5 b8f552ead6e11656a41eaaac6c548ecd
BLAKE2b-256 58fa6fa2d084267a3d6938c2ee78f218f53e8439a5f3db9155d58effffc140e4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page