feat(domain): drop the 'studio' (#818)

* feat(domain): drop the

* change all references for Sim Studio to Sim

* change back license and notice

* lint

---------

Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local>
This commit is contained in:
Waleed Latif
2025-07-29 12:51:43 -07:00
committed by GitHub
parent 13608a8bbc
commit ae43381d84
235 changed files with 809 additions and 646 deletions

View File

@@ -1,7 +1,7 @@
"""
Sim Studio SDK for Python
Sim SDK for Python
Official Python SDK for Sim Studio, allowing you to execute workflows programmatically.
Official Python SDK for Sim, allowing you to execute workflows programmatically.
"""
from typing import Any, Dict, Optional
@@ -36,7 +36,7 @@ class WorkflowStatus:
class SimStudioError(Exception):
"""Exception raised for Sim Studio API errors."""
"""Exception raised for Sim API errors."""
def __init__(self, message: str, code: Optional[str] = None, status: Optional[int] = None):
super().__init__(message)
@@ -46,14 +46,14 @@ class SimStudioError(Exception):
class SimStudioClient:
"""
Sim Studio API client for executing workflows programmatically.
Sim API client for executing workflows programmatically.
Args:
api_key: Your Sim Studio API key
base_url: Base URL for the Sim Studio API (defaults to https://simstudio.ai)
api_key: Your Sim API key
base_url: Base URL for the Sim API (defaults to https://sim.ai)
"""
def __init__(self, api_key: str, base_url: str = "https://simstudio.ai"):
def __init__(self, api_key: str, base_url: str = "https://sim.ai"):
self.api_key = api_key
self.base_url = base_url.rstrip('/')
self._session = requests.Session()