Files
omniread/omniread/xlsx/parser.pyi

19 lines
553 B
Python

import openpyxl
from omniread.core.content import Content
from .parser_base import XlsxParserBase
class XlsxParser(XlsxParserBase[list[list[str]]]):
def __init__(
self, content: Content, *, data_only: bool = True, read_only: bool = True
) -> None: ...
@property
def workbook(self) -> openpyxl.Workbook: ...
@property
def sheet_names(self) -> list[str]: ...
def parse(self) -> list[list[str]]: ...
def rows(
self, sheet: int | str | None = None, *, skip_empty: bool = True
) -> list[list[str]]: ...