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

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.2
File Size Uploaded
gatana_client-2.0.2.tar.gz 163.5 kB Details

Built distribution (wheel)

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

Total release size: 729.1 kB

Release files / gatana_client-2.0.2.tar.gz

Download URL gatana_client-2.0.2.tar.gz
Size 163.5 kB
Tags Source
SHA-256 checksum
How to use checksums
603a1861ecd2eaf5d432c7022cdf23404d48b6c5d26692a9630913731dcef0c7
BLAKE2b-256 checksum
How to use checksums
9ef5b8c7335e7f79a9f9aa0d0bde5e8b67c0556173f51b0ba4285da7fcb4675b
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.2-py3-none-any.whl

Download URL gatana_client-2.0.2-py3-none-any.whl
Size 565.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0fffc55db69e420099306da1979ad78729b523c1a1f126c516fbe4b6f1c757a
BLAKE2b-256 checksum
How to use checksums
f537e8cd207c2b257439b7f845456725520ac1cad157c1114a7dffb553598765
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

2.0.3

2 release files

This release

2.0.2 This release

2 release files

2.0.0

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