PyAudio
Cross-platform audio I/O library using PortAudio for recording and playing audio.
Files, images and media PyPI MIT Audio
How PyAudio is used
PyAudio is a dependency in 10 of the 6,211 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,980); counting those, it appears in 109 projects, and what it is used with below comes from all of them. Projects that use it most often also use NumPy (75.2%), python-dotenv (74.3%), Requests (68.8%).
PyAudio popularity over time
Gid Score 49: downloads 53, use in agent projects 52, GitHub stars n/a, downloads trend 65 (each 0-100). How it is calculated.
Often used with PyAudio
| NumPy | 75.2% of PyAudio projects · 12.9× more than average |
|---|---|
| python-dotenv | 74.3% of PyAudio projects · 8.1× more than average |
| Requests | 68.8% of PyAudio projects · 10.1× more than average |
| OpenAI Python Library | 61.5% of PyAudio projects · 15.6× more than average |
| Pillow | 59.6% of PyAudio projects · 15.6× more than average |
| Pydantic | 56.9% of PyAudio projects · 6.6× more than average |
| FastAPI | 49.5% of PyAudio projects · 6.6× more than average |
| psutil | 45.9% of PyAudio projects · 24.4× more than average |
From all 109 projects in our scan that use PyAudio, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| Cursor | 0.2% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list PyAudio as a dependency.
Install
| Package | pip install pyaudio |
|---|---|
| Main stacks | Python (109) |
| Example projects | TIGER-AI-Lab/TheoremExplainAgent, LuoFanA595/Medical-Robot-AI, smile-wingbow/pudding-robot, SleeeepyZhou/LiveDevAgents, pengrambo3-tech/ZeusHammer |
Alternatives to PyAudio
In our scan, none of the most used tools in Files, images and media does the same job as PyAudio: they are add-ons, companions or tools for a different task.
More in Files, images and media: Sharp Pillow Nodemailer jsPDF SheetJS qrcode (JavaScript) JSZip openpyxl