Skip to main content

gatana-client

Python client for the Gatana API. Automatically generated based on Gatana OpenAPI specification using openapi-generators/openapi-python-client

Usage

The easiest way to get started is with GatanaClient, which resolves configuration automatically from explicit parameters, environment variables, or ~/.gatana.config.

More information about the .gatana.config file, can be found here in the Gatana Tools CLI repository

from gatana_client import GatanaClient

# Explicit
client = GatanaClient(token="sk-...", org_id="my-org")

# Or zero-config — picks up GATANA_API_KEY + GATANA_ORG_ID env vars,
# or falls back to ~/.gatana.config
client = GatanaClient()

Configuration priority

  1. Explicit token + org_id (or base_url) passed to GatanaClient
  2. Environment variables: GATANA_API_KEY, GATANA_ORG_ID / GATANA_BASE_URL
  3. Config file: ~/.gatana.config

Calling endpoints

Each API endpoint is a Python module with sync and async variants:

from gatana_client.api.sandboxes import list_sandboxes

with client as client:
    sandboxes = list_sandboxes.sync(client=client)

Async:

async with client as client:
    sandboxes = await list_sandboxes.asyncio(client=client)

Every endpoint module exposes four functions:

Function Description
sync Blocking, returns parsed data or None
sync_detailed Blocking, returns full Response
asyncio Async version of sync
asyncio_detailed Async version of sync_detailed

Metadata

Release files for gatana-client 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gatana-client 2.0.0
File Size Uploaded
gatana_client-2.0.0.tar.gz 162.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gatana-client 2.0.0
File Interpreter ABI Platform
gatana_client-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 727.8 kB

Release files / gatana_client-2.0.0.tar.gz

Download URL gatana_client-2.0.0.tar.gz
Size 162.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f6ecc4c7c83355b3c2cbf887e00f1d7bef967ddba6be68c6dec52b6d670cfb75
BLAKE2b-256 checksum
How to use checksums
46e7e985f27ded9ec0266015c2e1acad6cb95e704a34e452c23a4dc663f3a72f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / gatana_client-2.0.0-py3-none-any.whl

Download URL gatana_client-2.0.0-py3-none-any.whl
Size 565.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f662a6ef67c7f0dcb91844227588fc54862f3d9421341605f1d6922db0705ce
BLAKE2b-256 checksum
How to use checksums
b10805b9f1687cd2f2a3d5e3f1b8ff1df0c93520bc68740e6bdd668d524bafbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page