Skip to main content

soma

Project description

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 messages
  • BridgeApi - Manage provider instances and invoke functions
  • EncryptionApi - Manage encryption keys
  • SecretApi - Manage secrets
  • EnvironmentVariableApi - Manage environment variables
  • A2aApi - Agent-to-agent protocol endpoints

Requirements

Python 3.9+

Documentation

For comprehensive documentation and guides, visit https://docs.trysoma.ai/

Repository

https://github.com/trysoma/soma

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trysoma_api_client-0.0.5.dev0.tar.gz (84.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trysoma_api_client-0.0.5.dev0-py3-none-any.whl (213.1 kB view details)

Uploaded Python 3

File details

Details for the file trysoma_api_client-0.0.5.dev0.tar.gz.

File metadata

  • Download URL: trysoma_api_client-0.0.5.dev0.tar.gz
  • Upload date:
  • Size: 84.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for trysoma_api_client-0.0.5.dev0.tar.gz
Algorithm Hash digest
SHA256 d7da6e5ada19dce6174f8c57015e99d3abf00e53ae359d19d055fbd370cfea8f
MD5 a0a688f466906554d4cad5f6b3e753fb
BLAKE2b-256 77f61a1f1aed0dc78b7e80c584ed9eee37cd1d8c6b33dc387006700d033338de

See more details on using hashes here.

File details

Details for the file trysoma_api_client-0.0.5.dev0-py3-none-any.whl.

File metadata

  • Download URL: trysoma_api_client-0.0.5.dev0-py3-none-any.whl
  • Upload date:
  • Size: 213.1 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for trysoma_api_client-0.0.5.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 12c03e7567d3f71737f1e60fdb37a08899bc74a119145b1c25b02d9c819e03df
MD5 30f1923a1413a764be3bf65b37bc3bc9
BLAKE2b-256 5c3d484d53e774129ce87da4675fac0201849b76379682fcc15668f752d920d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page