tessl install tessl/pypi-pygsheets@2.0.0Google Spreadsheets Python API v4
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.23x
Baseline
Agent success rate without this tile
62%
A module that provisions, duplicates, catalogs, and tears down spreadsheets while returning clear metadata for each operation.
@generates
from dataclasses import dataclass
from typing import List, Optional
@dataclass
class SpreadsheetSummary:
id: str
title: str
url: str
template_source: Optional[str] = None
class SpreadsheetLifecycleManager:
def create(self, title: str, folder_id: Optional[str] = None, template_id: Optional[str] = None) -> SpreadsheetSummary:
"""Create a spreadsheet, optionally in a folder or from a template."""
def duplicate(self, source_id: str, new_title: str, destination_folder_id: Optional[str] = None) -> SpreadsheetSummary:
"""Copy an existing spreadsheet to a new one with a new title."""
def list(self, title_prefix: Optional[str] = None) -> List[SpreadsheetSummary]:
"""List accessible spreadsheets, optionally filtered by title prefix."""
def remove(self, spreadsheet_id: str) -> bool:
"""Delete a spreadsheet and return True if deletion was confirmed."""Google Sheets client for spreadsheet lifecycle operations.