Skip to main content

Tikeo Python Worker SDK 🐍

🇨🇳 中文 SDK 文档

Python SDK aligned with the Java, Rust, Go, and Node.js Worker SDKs.

Runtime requirements

  • Python 3.11+ is required by pyproject.toml.
  • CI verifies the SDK and demo with Python 3.12.

Features

  • Worker Tunnel client with structured capabilities.
  • Task processors and precise task-scoped logs.
  • Standard-library SDK diagnostics through configure_logging(LogConfig.from_env()).
  • Optional SDK file output to tikeo-sdk.log.
  • Management API client using x-tikeo-api-key.
  • SRT/Deno/container/local script runners and fail-closed unavailable handlers.

Usage

from tikeo import Client, LogConfig, configure_logging, local_config

configure_logging(LogConfig.from_env())
config = local_config("http://127.0.0.1:9998", "orders-python-1")
config.namespace = "dev-alpha"
config.app = "orders"
config.add_normal_processor("demo.echo", "Echo payload demo processor")
client = Client(config)

Operational cautions

  • Sandbox auto-install is background prewarm only: SDK startup never waits for downloads; missing tools stay unadvertised and fail closed until available.
  • Set TIKEO_SANDBOX_STRICT_ISOLATION=1 when strict sandbox isolation is required; this skips host PATH tools/interpreters and uses only sandbox-tools cache binaries.
  • Do not log API keys or raw payloads through SDK diagnostics.
  • Use task context logging for execution output that belongs in instance logs.
  • Keep script runners fail-closed when sandbox tools are unavailable.

Verification

python -m pip install -e .[test]
python -m pytest

Metadata

Release files for tikeo 0.3.25

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

Source distribution (sdist)

Source distribution for tikeo 0.3.25
File Size Uploaded
tikeo-0.3.25.tar.gz 27.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tikeo 0.3.25
File Interpreter ABI Platform
tikeo-0.3.25-py3-none-any.whl Python 3 none any Details

Total release size: 54.3 kB

Release files / tikeo-0.3.25.tar.gz

Download URL tikeo-0.3.25.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
161878c099a53e41fe36e002decbab36b0db8e84ce6a950ee88e3f124fb679cc
BLAKE2b-256 checksum
How to use checksums
9ba67976dcd345a10afb0704d53dcaec6825dfad81f2b2de99336b58e0c4a587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tikeo-0.3.25-py3-none-any.whl

Download URL tikeo-0.3.25-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31a2bd2d75157f81f2ad1bc6f590b19c338491b960959c76f95b1370c49ff53b
BLAKE2b-256 checksum
How to use checksums
9c3f7f9dd0b78a67d642230937fd90bd828c9b8f054f5bc7e6a4b1a015b0aa83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.3.25 This release

2 release files

0.3.24

2 release files

0.3.23

2 release files

0.3.22

2 release files

0.3.21

2 release files

0.3.20

2 release files

0.3.19

2 release files

0.3.18

2 release files

0.3.17

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

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