trysoma_api_client
Python client for the Soma REST API.
Overview
This package provides a typed API client for interacting with the Soma server. It is auto-generated from the OpenAPI specification and provides full type hints support.
Note: Most users should use trysoma_sdk instead, which provides a higher-level API for building agents. This package is useful for direct API access or building custom integrations.
Installation
pip install trysoma_api_client
# or
uv add trysoma_api_client
Quick Start
import trysoma_api_client
from trysoma_api_client.rest import ApiException
# Create a configuration
configuration = trysoma_api_client.Configuration(
host="http://localhost:8080"
)
# Create an API client
with trysoma_api_client.ApiClient(configuration) as api_client:
# Create an API instance
task_api = trysoma_api_client.TaskApi(api_client)
# List tasks
tasks = task_api.list_tasks()
print(tasks)
# Get a specific task
task = task_api.get_task_by_id(task_id="task-123")
print(task)
Available APIs
TaskApi- Manage tasks and send messagesBridgeApi- Manage provider instances and invoke functionsEncryptionApi- Manage encryption keysSecretApi- Manage secretsEnvironmentVariableApi- Manage environment variablesA2aApi- Agent-to-agent protocol endpoints
Requirements
Python 3.9+
Documentation
For comprehensive documentation and guides, visit https://docs.trysoma.ai/
Repository
Metadata
Release files for trysoma_api_client 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trysoma_api_client-0.0.6.tar.gz | 120.7 kB | Without provenance | Details for trysoma_api_client-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trysoma_api_client-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for trysoma_api_client-0.0.6-py3-none-any.whl |
Total release size: 468.5 kB
Release files / trysoma_api_client-0.0.6.tar.gz
| Download URL | trysoma_api_client-0.0.6.tar.gz |
|---|---|
| Size | 120.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e19ac046bb092c09f14a335661773729a836598a5efadf2c3f00322c15c1cb5
|
|
BLAKE2b-256 checksum How to use checksums |
2e680d0efcdc4eed962f637049a375504310c86df0a1fd7f99ab0dfa71120cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / trysoma_api_client-0.0.6-py3-none-any.whl
| Download URL | trysoma_api_client-0.0.6-py3-none-any.whl |
|---|---|
| Size | 347.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68465d26fca1123bbb1441ec6cec1836ea50bec1d1341dc746c13e2fb9c91f9f
|
|
BLAKE2b-256 checksum How to use checksums |
9403300e47fcf9d167226b23f5d6a8d0e1bfb65303255e861b2c9c8a24493753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for trysoma_api_client 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.