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.

License

MIT

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.0.tar.gz (9.4 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.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genorbex_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 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.0.tar.gz
Algorithm Hash digest
SHA256 017b9c362408e4e78b52d04c593b42ee6bc020efc748cff823a419bb8db25a30
MD5 4f3ebdeca4cd697a908bf5895ac6b3a7
BLAKE2b-256 839f2f75f5ff4998ffee306ca6ae8c14366682b40ab3b6bd0ec0b904fe2d6b29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genorbex_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e79e4ace167f903c6615a221ce3163e8a478a234ea60815969d00197ff37ff5
MD5 642cb53f8bc96b08bc4162e57894ef1b
BLAKE2b-256 e5a29b4681f1b1f02f9598227202497246a0d4eac45488ef2eb847d23007c5ef

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

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