pydub-stubs
Stub-only package containing type information for pydub
Decision gist · record as of 2026-08-14
Yes, if you use Pydub and want static type checking. Install it alongside Pydub to gain IDE support and type safety with minimal friction. The aging maintenance status is a minor concern but acceptable for a stable type stub that tracks a mature library. No security vulnerabilities and permissive licensing make it a low-risk addition.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Pydub itself to be installed separately; type stubs alone do not provide audio functionality.
- Low install friction with a single lightweight runtime dependency (typing-extensions).
- Repository shows aging maintenance but remains active with no archived status; suitable for projects already using Pydub that need type safety.
License · maintenance · safety
ISC (permissive) — ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2025-04-11 (490 days) · last repo commit 2025-04-11 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,940 downloads/mo, #12,492 on PyPI
Alternatives
Verify before relying
pip install pydub-stubs
from pydub import AudioSegment
audio = AudioSegment.from_file("file.mp3")- Whether type coverage extends to all Pydub modules or only the public API as stated
- Compatibility guarantees with Pydub versions other than 0.25.1
- How frequently the stubs are updated relative to new Pydub releases
What it is and what it does
Pydub-stubs is a type stub package that adds static type information to Pydub, the Python audio processing library. It works alongside Pydub to enable type checkers and IDEs to understand Pydub's API, providing autocompletion and catching type errors at development time rather than runtime. The stubs cover Pydub's public interface and some undocumented functions, including AudioSegment methods, effects, generators, and utility modules.
You install it as a companion to Pydub itself—it contains no runtime code, only type definitions. It depends only on typing-extensions and supports Python 3.9 through 3.13. The package is maintained to track Pydub releases, with recent fixes addressing function signatures and method availability on AudioSegment.
Use it for
- Add type checking to audio processing scripts that use Pydub, catching parameter mismatches before runtime.
- Enable IDE autocompletion and inline documentation for Pydub methods while editing code.
- Validate Pydub usage in a typed codebase that enforces strict type checking.
- Document expected parameter types and return values for Pydub operations in team projects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Pydub and want static type checking.
Install it alongside Pydub to gain IDE support and type safety with minimal friction. The aging maintenance status is a minor concern but acceptable for a stable type stub that tracks a mature library. No security vulnerabilities and permissive licensing make it a low-risk addition.
Install
pydub-stubs on PyPI
Before you install
Low install friction with a single lightweight runtime dependency (typing-extensions). Repository shows aging maintenance but remains active with no archived status; suitable for projects already using Pydub that need type safety.
Requires Pydub itself to be installed separately; type stubs alone do not provide audio functionality.
License in practice
ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install pydub-stubs
from pydub import AudioSegment
audio = AudioSegment.from_file("file.mp3")
Verify before relying
- Whether type coverage extends to all Pydub modules or only the public API as stated
- Compatibility guarantees with Pydub versions other than 0.25.1
- How frequently the stubs are updated relative to new Pydub releases
Package facts
| License | ISC permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Aging 490 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,940 / month, #12,492 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI ApprovedLicense :: OSI Approved :: ISC License (ISCL)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Typing :: Stubs Only |
Evidence: pydub_stubs-0.25.1.6-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 › “pydub type stubs”
- pydub-stubsProvides type stubs for Pydub, enabling static type checking and IDE…
- pydubPydub provides a high-level Python interface for loading,…
- 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
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 pydub · pymupdf-stubs · types-pyaudio · types-pika · grpc-stubs · homeassistant-stubs · pydantic · miniaudio · google-api-python-client-stubs · sqlalchemy-stubs