tessl install tessl/pypi-pyexcel-xlsx@0.6.0A wrapper library to read, manipulate and write data in xlsx and xlsm format
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.38x
Baseline
Agent success rate without this tile
55%
Applies structured edits to an XLSX workbook using a workbook and sheet abstraction for cell-level updates and sheet creation.
destination. @test@generates
from pathlib import Path
from typing import Any, Dict, List, Optional, Sequence, TypedDict
class SheetEdit(TypedDict, total=False):
sheet: str
create_if_missing: bool
cells: Dict[str, Any]
append_rows: List[List[Any]]
def apply_workbook_edits(
destination: Path,
edits: Sequence[SheetEdit],
source: Optional[Path] = None,
) -> Path:
"""Load or create an XLSX workbook, apply cell updates and row appends per sheet, and save to destination."""Provides workbook and sheet abstractions for creating sheets, editing cell values, appending rows, and saving XLSX content efficiently.