Python Worker SDK for tikeo
Project description
Tikeo Python Worker SDK 🐍
Python SDK aligned with the Java, Rust, Go, and Node.js Worker SDKs.
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_sdk_processor("demo.echo")
client = Client(config)
Operational cautions
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tikeo-0.1.916.tar.gz
(21.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tikeo-0.1.916-py3-none-any.whl
(22.0 kB
view details)
File details
Details for the file tikeo-0.1.916.tar.gz.
File metadata
- Download URL: tikeo-0.1.916.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c469cb117a52ece29d689477ad58f668936b7706e750cbff44ae465d4547963
|
|
| MD5 |
190ad07099a003df7ca5ca673d8186d2
|
|
| BLAKE2b-256 |
00e198555828659b798fa052c73d750672c97f455c85d1bf914e78ab2f4d41a1
|
File details
Details for the file tikeo-0.1.916-py3-none-any.whl.
File metadata
- Download URL: tikeo-0.1.916-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57fa2bc5985ecae7f80e33bc6ebfa2d39cb6d87203999cce2b477ef007470f70
|
|
| MD5 |
322ad8932c163be5e56a4fe228c1b42c
|
|
| BLAKE2b-256 |
ba4bee6e46f243419883f4b9b5c57263f466953b388df6a22f3b020c64bef48f
|