$npx skillfedfor your agent

types-olefile

Typing stubs for olefile

With conditionsPyPI Software DevelopmentReleased May 2026135.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_olefile-0.47.0.20260508-py3-none-any.whl
v0.47.0.20260508 · released 2026-05-08 · Python >=3.10

Yes, if you use olefile and want static type checking. It has no runtime cost, low install friction, and is actively maintained as part of typeshed. Install it alongside olefile in projects that enforce type safety; skip it only if you do not use a type checker or do not use olefile.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; olefile itself must be installed separately to use the types at runtime.
  • Low install friction; a pure-Python stub package with no runtime dependencies.
  • Actively maintained as part of typeshed, with recent updates as of 2026-05-08.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2026-05-08 (98 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,208 downloads/mo, #11,448 on PyPI

Verify before relying

pip install types-olefile

import olefile
ole = olefile.OleFileIO('document.doc')
  • Whether this stub package is automatically discovered by type checkers or requires explicit configuration.
  • Coverage completeness: what fraction of olefile's public API is annotated in this stub version.
Same gist for agents: .md · .json

What it is and what it does

types-olefile is a type stub package that provides static type information for the olefile library, which handles OLE compound document files (used by older Microsoft Office formats, email attachments, and other binary container formats). It is part of the typeshed project and allows type checkers like mypy and pyright to understand the types and signatures of olefile's API, catching type errors during development rather than at runtime.

The package contains no executable code—only type annotations (.pyi files)—and has no runtime dependencies. It is tested against olefile 0.47.x and validated with mypy 1.20.0 and pyright 1.1.408. Installation is optional but recommended for projects that use olefile and want static type checking.

Use it for

  • Enable mypy or pyright to type-check code that calls olefile functions for parsing OLE documents.
  • Catch type mismatches early in development when working with OLE file metadata or stream extraction.
  • Provide IDE autocomplete and inline documentation for olefile methods in editors that support type stubs.
  • Validate that code correctly handles olefile's return types and exceptions before runtime.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use olefile and want static type checking.

It has no runtime cost, low install friction, and is actively maintained as part of typeshed. Install it alongside olefile in projects that enforce type safety; skip it only if you do not use a type checker or do not use olefile.

Install

types-olefile on PyPI

Before you install

Low install friction; a pure-Python stub package with no runtime dependencies. Actively maintained as part of typeshed, with recent updates as of 2026-05-08.

Requires Python 3.10 or later; olefile itself must be installed separately to use the types at runtime.

License in practice

Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install types-olefile

import olefile
ole = olefile.OleFileIO('document.doc')

Verify before relying

  • Whether this stub package is automatically discovered by type checkers or requires explicit configuration.
  • Coverage completeness: what fraction of olefile's public API is annotated in this stub version.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 98 days since the last release
Last repo commit
First released
Downloads135,208 / month, #11,448 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_olefile-0.47.0.20260508-py3-none-any.whl

Tags

Capabilities
type stubs olefileolefile type hintsmypy olefile annotationspyright olefile typesole file format typing
Topics
type-stubsstatic-analysis

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type stubs olefile”

  • types-olefileProvides type annotations for the olefile package, enabling type…
  • olefileolefile parses, reads, and writes Microsoft OLE2 compound files…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-pyperclip · olefile · types-objgraph · types-tabulate · oletools · types-Markdown · types-jmespath · types-pywin32 · types-mypy-extensions · compoundfiles