# build-aux/mypy-stubs/xlrd/__init__.pyi - Type stubs for xlrd # # Copyright (C) 2025 Luke T. Shumaker # SPDX-License-Identifier: AGPL-3.0-or-later import collections.abc import typing import xlrd.book from xlrd.info import __VERSION__ as __VERSION__ from xlrd.info import __version__ as __version__ FILE_FORMAT_DESCRIPTIONS: dict[str | None, str] def inspect_format( path: str | None = None, content: bytes | None = None ) -> str | None: ... def open_workbook( filename: str | None = None, logfile: typing.TextIO = ..., verbosity: int = 0, use_mmap: bool = True, file_contents: collections.abc.Buffer | None = None, encoding_override: str | None = None, formatting_info: bool = False, on_demand: bool = False, ragged_rows: bool = False, ignore_workbook_corruption: bool = False, ) -> xlrd.book.Book: ... def dump( filename: str, outfile: typing.TextIO = ..., unnumbered: bool = False ) -> None: ... def count_records(filename: str, outfile: typing.TextIO = ...) -> None: ...