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-0.2.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genorbex-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bd0e34e90371983fe99b0512336b4a7471c7b29134c18c5dc727b23194e37034
MD5 492189499cc2f390c76009f1f20fdae8
BLAKE2b-256 857deb597d98dde6ec1840ecea4b9b5f099901a916fd97a186830df977af2ae1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genorbex-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-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a330084bea446422affe3a82470d971df96720942291a18cc0e74ac7abcaaed5
MD5 2204b54319c6f8af213b147b3b263d6c
BLAKE2b-256 471f1986a09e393f1f91a48800f2d8ec6c7c6827bf0571f40f567803c127e426

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.1.1

2 files

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