WyseOS
HomepagePython SDKUser Manual
WyseOS

Introduction

πŸ“– DocumentationπŸ“œ Concepts

Users

πŸ“‹ User Manual

Developers

πŸš€ Python SDK
πŸ“‹ Installation✨ Getting StartedπŸ”‘ Authentication🐍 Examplesβš™οΈ Release NotesπŸ”Œ ReferencesπŸ”§ Troubleshooting

Changelogs

Others

Contact Us

πŸš€ Introduction

WyseOS Python SDK empowers developers to seamlessly integrate Python applications with APIs from WyseOS.

It is designed to offer a superior development experience through:

  • 🧩 Simplified API Interactions: Say goodbye to complex HTTP requests and WebSocket intricacies. The SDK abstracts these complexities, allowing you to focus purely on your application logic.
  • πŸ› οΈ Comprehensive Functionality: Access all core WyseOS features, from client initialization and direct API calls to real-time WebSocket communication.
  • βœ… Structured and Type-Safe Models: Benefit from clear, Pydantic-based data models for all requests and responses, ensuring type safety and reducing common integration errors.
  • πŸ› Robust Error Handling: Quickly diagnose and resolve issues with detailed, specific error types to provide actionable insights.

🌟 What's New in v0.2.1

Experience the TaskRunner - a groundbreaking simplification of WebSocket operations:

  • 🎯 TaskRunner Interface: Reduces complex WebSocket operations by 90%, transforming 400+ lines of code into just 10-20 lines
  • ⚑ Dual Execution Modes:
    • run_task() for fully automated execution
    • run_interactive_session() for user-guided interactions
  • πŸ”§ Smart Configuration: TaskExecutionOptions provides performance-optimized defaults with flexible customization
  • πŸ“Š Comprehensive Results: TaskResult captures execution duration, detailed logs, screenshots, and complete session metadata
  • πŸš€ Instant Productivity: Get from zero to running tasks in under 30 seconds

Before vs. After

# ❌ Before: Complex 400+ line setup
def websocket_operations(client, session, task):
    # 400+ lines of complex WebSocket handling...
    
# βœ… After: Simple 10-line solution
task_runner = client.websocket.create_task_runner(client, session)
result = task_runner.run_task("Analyze market trends", "wyse_mate")
print(f"βœ… Task completed: {result.final_answer}")

Credits

Previous Page

πŸ“‹ Installation

Next Page

Table of Contents

🌟 What's New in v0.2.1
Before vs. After