Tobiko Cloud Helpers

raw JSON →
202616.4.0 verified Sat May 09 auth: no python

Tobiko Cloud Helpers is a Python SDK for interacting with Tobiko Cloud services, including authentication, API calls, and data pipeline management. Version 202616.4.0 supports Python 3.9-3.12. Released frequently (weekly), with breaking changes tied to version bumps.

pip install tobiko-cloud-helpers
error ImportError: cannot import name 'TobikoClient' from 'tobiko_cloud_helpers'
cause The package might be outdated or the import path has changed.
fix
Upgrade to latest version: pip install --upgrade tobiko-cloud-helpers Check import: from tobiko_cloud_helpers import TobikoClient
error tobiko_cloud_helpers.exceptions.UnauthorizedError: 401 - Invalid API key
cause API key is missing, invalid, or not set in environment variable.
fix
Set TOBIKO_API_KEY environment variable or pass key directly to TobikoClient(api_key='...').
error TypeError: 'generator' object is not subscriptable
cause Calling list_projects() returns a generator; trying to index it fails.
fix
Use list(client.list_projects()) to get a list.
breaking Major version bumps (e.g., 202xxxx.xx) may introduce breaking API changes. Always pin your version and test upgrades in a staging environment.
fix Pin version in requirements.txt: tobiko-cloud-helpers==202616.4.0
deprecated The `TobikoClient` constructor no longer accepts a `region` parameter as of 202605.0.0. Use `base_url` instead.
fix Update to: TobikoClient(api_key=..., base_url='...')
gotcha The `list_projects()` method returns a generator; you must convert it to a list to access indexes or iterate multiple times.
fix projects = list(client.list_projects())
gotcha API keys are passed as a parameter without the 'Bearer ' prefix; the SDK automatically adds it.
fix Do not prepend 'Bearer '; just provide the raw key.

Initialize the Tobiko client and list projects.

import os
from tobiko_cloud_helpers import TobikoClient

# Set your API key via environment variable or directly
client = TobikoClient(api_key=os.environ.get('TOBIKO_API_KEY', ''))
result = client.list_projects()
print(result)