types-pyaudio
Typing stubs for pyaudio
Decision gist · record as of 2026-08-14
Yes, if you use pyaudio and want static type checking. Installation is frictionless, the package is actively maintained, and it's licensed permissively. Install it as a dev dependency alongside pyaudio to enable type safety in your audio code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later
- Low friction installation with no runtime dependencies.
- Actively maintained as part of the typeshed project with recent releases.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-05-08 (98 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,598 downloads/mo, #14,062 on PyPI
Alternatives
Verify before relying
pip install types-pyaudio
# In your code, import pyaudio normally
import pyaudio
# Type checkers will now understand pyaudio's types
audio = pyaudio.PyAudio()- Whether these stubs cover all pyaudio 0.2.* versions or only specific patch releases
- Whether the stubs are automatically updated when pyaudio itself changes
What it is and what it does
types-pyaudio is a type stub package that provides type annotations for the pyaudio library. It allows static type checkers to understand the types and signatures of pyaudio's API, catching type errors during development rather than at runtime. The package is maintained as part of the typeshed project and is tested against mypy 1.20.0 and pyright 1.1.408.
You install it alongside pyaudio to enable type checking in your IDE or CI pipeline. It has no runtime dependencies and requires Python 3.10 or later. The stubs aim to cover pyaudio 0.2.* versions, allowing you to write type-safe code that uses pyaudio's audio functions.
Use it for
- Enable mypy or pyright to type-check code that imports and uses pyaudio for audio operations
- Catch type errors in audio processing code before runtime in a CI/CD workflow
- Get IDE autocomplete and type hints when writing code that calls pyaudio functions
- Validate that audio device configuration code passes static type analysis
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pyaudio and want static type checking.
Installation is frictionless, the package is actively maintained, and it's licensed permissively. Install it as a dev dependency alongside pyaudio to enable type safety in your audio code.
Install
types-pyaudio on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained as part of the typeshed project with recent releases.
Requires Python 3.10 or later
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-pyaudio
# In your code, import pyaudio normally
import pyaudio
# Type checkers will now understand pyaudio's types
audio = pyaudio.PyAudio()
Verify before relying
- Whether these stubs cover all pyaudio 0.2.* versions or only specific patch releases
- Whether the stubs are automatically updated when pyaudio itself changes
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 98 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,598 / month, #14,062 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_pyaudio-0.2.16.20260508-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 › “pyaudio type stubs”
- types-pyaudioProvides type hints for the pyaudio library, enabling static type…
- PyAudioPyAudio provides Python bindings for PortAudio v19, enabling you to…
- 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 types-grpcio-reflection · types-pysftp · types-aiofiles · PyAudio · types-pyserial · types-pyperclip · types-tabulate · types-webencodings · types-pyflakes · pydub-stubs