types-yt-dlp
Typing stubs for yt-dlp
Decision gist · record as of 2026-08-14
Yes, if you use yt-dlp and run static type checking. Install it alongside yt-dlp to get type safety with no runtime overhead. The package is actively maintained, has no external dependencies, and is tested against current type checkers. If you don't use type checking, there is no benefit to installing it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Stubs are designed for yt-dlp==2026.7.4; version mismatches may cause type checker warnings.
- Low friction to install; actively maintained with releases tracking yt-dlp versions closely.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.
last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,527 downloads/mo, #14,985 on PyPI
Alternatives
Verify before relying
pip install types-yt-dlp
# Type checkers will now understand types-yt-dlp annotations
# when checking code that imports yt-dlp- Whether these stubs remain accurate across minor yt-dlp patch versions outside 2026.7.4
- Coverage completeness: whether all public yt-dlp APIs are annotated or only a subset
- Whether yt-dlp must be installed separately for the stubs to be useful
What it is and what it does
This package provides type stubs—skeletal type annotations without runtime code—for yt-dlp, a popular video downloader. When installed, it allows static type checkers like mypy and pyright to understand the types and signatures of yt-dlp's public API, catching type errors in your code before runtime.
Type stubs are useful when you want type-checking benefits without modifying the original package or when the original package lacks inline annotations. This stub package is maintained as part of the typeshed project, a centralized repository of type information for the Python ecosystem. It has no runtime dependencies and is tested against multiple type checkers to ensure accuracy.
Use it for
- Enable type checkers to validate code that calls yt-dlp functions and classes
- Catch type mismatches in yt-dlp API calls during development rather than at runtime
- Use yt-dlp in a codebase with strict type-checking enabled in CI pipelines
- Get IDE autocomplete and type hints when using a type-aware editor with yt-dlp
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use yt-dlp and run static type checking.
Install it alongside yt-dlp to get type safety with no runtime overhead. The package is actively maintained, has no external dependencies, and is tested against current type checkers. If you don't use type checking, there is no benefit to installing it.
Install
types-yt-dlp on PyPI
Before you install
Low friction to install; actively maintained with releases tracking yt-dlp versions closely. Tested against current type checkers (mypy 2.3.0, pyright 1.1.411, ty 0.0.59).
Requires Python 3.10 or later. Stubs are designed for yt-dlp==2026.7.4; version mismatches may cause type checker warnings.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.
Quickstart
pip install types-yt-dlp
# Type checkers will now understand types-yt-dlp annotations
# when checking code that imports yt-dlp
Verify before relying
- Whether these stubs remain accurate across minor yt-dlp patch versions outside 2026.7.4
- Coverage completeness: whether all public yt-dlp APIs are annotated or only a subset
- Whether yt-dlp must be installed separately for the stubs to be useful
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,527 / month, #14,985 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_yt_dlp-2026.7.4.20260807-py3-none-any.whl
Tags
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 yt-dlp”
- types-yt-dlpProvides type hints for yt-dlp, enabling static type checkers to…
- yt-dlp-ejsProvides external JavaScript execution support for yt-dlp, enabling…
- bgutil-ytdlp-pot-providerA yt-dlp plugin that provides proof-of-origin tokens to help bypass…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also types-braintree · types-Pygments · types-docutils · types-openpyxl · types-dateparser · types-django-filter · types-bleach · types-tensorflow · bgutil-ytdlp-pot-provider · types-reportlab