first commit

This commit is contained in:
2025-04-06 21:39:00 +02:00
commit 64e54819aa
9 changed files with 258 additions and 0 deletions

1
models/__init__.py Normal file
View File

@@ -0,0 +1 @@
# This file is intentionally left blank.

13
models/excel_models.py Normal file
View File

@@ -0,0 +1,13 @@
from pydantic import BaseModel
from typing import List, Dict, Any
class Cell(BaseModel):
value: str
format: Dict[str, Any]
class Sheet(BaseModel):
name: str
cells: List[List[Cell]]
class ExcelFile(BaseModel):
sheets: List[Sheet]