Skip to main content

Arcade TDK - Toolkit Development Kit for building Arcade tools

Project description

Arcade TDK (Toolkit Development Kit)

Toolkit Development Kit for building and testing Arcade tools.

Overview

Arcade TDK provides the essential tools and utilities for building Arcade tools:

  • Tool Decorator: Simple @tool decorator for creating Arcade tools
  • Authentication: Auth providers and helpers for tool security
  • Annotations: Type annotations and parameter validation
  • Core Integration: Seamless integration with arcade-core components

Installation

pip install arcade-tdk

Usage

from typing import Annotated

from arcade_tdk import tool

@tool
def hello_world(name: Annotated[str, "The name of the person to greet"]) -> str:
    """Say hello to someone."""
    return f"Hello, {name}!"

# The tool is automatically registered and available for use

Advanced Usage

from typing import Annotated

from arcade_tdk import tool, ToolCatalog, Toolkit
from arcade_tdk.auth import Reddit

# Create tools with auth requirement
@tool(requires_auth=Reddit(scopes=["read"]))
def get_posts_in_subreddit(
    subreddit: Annotated[str, "The name of the subreddit"],
    limit: Annotated[int, "The number of posts to return]
) -> dict:
    """Get posts from a specific subreddit"""
    # TODO: Implement your Reddit tool
    return {}

License

MIT License - see LICENSE file for details.

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

arcade_tdk-2.3.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

arcade_tdk-2.3.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file arcade_tdk-2.3.1.tar.gz.

File metadata

  • Download URL: arcade_tdk-2.3.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arcade_tdk-2.3.1.tar.gz
Algorithm Hash digest
SHA256 b294539a11cb2b402fb58ea7c0e220bfd338dc73085ef054c9d69f0d8cf6e463
MD5 cb68df1371f80bd467b446e84bc81fb6
BLAKE2b-256 4f0e03d47f9551ed2dc02e7721dd1991ec020726e8a068cd94aa644905e9274b

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-2.3.1.tar.gz:

Publisher: release-on-version-change.yml on ArcadeAI/arcade-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arcade_tdk-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: arcade_tdk-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arcade_tdk-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc83bb6407221dc4a1d06cc93770446ac81ec0df275ebc0dde05d04c76eb71e
MD5 d569f348c23d95e86be2168135a280e9
BLAKE2b-256 230f0356b152542e5c60e5eea3e5c9833edf25ed1d23129026637f1e7eebe14e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-2.3.1-py3-none-any.whl:

Publisher: release-on-version-change.yml on ArcadeAI/arcade-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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