Enhance README with logo and badges; update documentation; modify read_only to False (#32)

This commit is contained in:
Haris
2025-05-21 13:49:41 +05:00
committed by GitHub
parent 7f8c2be2f4
commit 62b7e94344
4 changed files with 53 additions and 43 deletions

View File

@ -21,7 +21,7 @@ def read_excel_range(
) -> list[dict[str, Any]]:
"""Read data from Excel range with optional preview mode"""
try:
wb = load_workbook(filepath, read_only=True)
wb = load_workbook(filepath, read_only=False)
if sheet_name not in wb.sheetnames:
raise DataError(f"Sheet '{sheet_name}' not found")

View File

@ -67,7 +67,7 @@ def get_workbook_info(filepath: str, include_ranges: bool = False) -> dict[str,
if not path.exists():
raise WorkbookError(f"File not found: {filepath}")
wb = load_workbook(filepath, read_only=True)
wb = load_workbook(filepath, read_only=False)
info = {
"filename": path.name,