Typing stubs for olefile (v0.47.0.20260408), provided by typeshed. These stubs enable static type checking for the olefile package. The package follows typeshed's release cadence, typically updated to match CPython's typing stubs.
pip install types-olefileVerified import paths — ran on the pinned version, not inferred.
Open an OLE2 file, check for stream existence, and read metadata.
Install both: pip install olefile types-olefile
Use only documented public API to benefit from type hints.
Use OleFileIO.get_metadata() instead.