$npx skillfedfor your agent

pycaw

Python Core Audio Windows Library

With conditionsPyPI UtilitiesReleased Oct 2025175.7K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pycaw-20251023-py3-none-any.whl
v20251023 · released 2025-10-23 · 2 runtime deps: comtypes, psutil

Yes, if you are building Windows-only audio control features and need programmatic access to Core Audio APIs. The package is actively maintained, has low install friction, and no known vulnerabilities. The main caveat is the unclear license—verify the repository's license terms before use. Not suitable for cross-platform projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Windows-only; requires Visual C++ build tools (e.g., via `choco install visualcpp-build-tools`).
  • Not supported on macOS or Linux.
  • Installation is straightforward with low friction; the package depends on comtypes and psutil, both stable and widely available.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the repository before use in proprietary or restricted projects.

last release 2025-10-23 (295 days) · last repo commit 2026-07-19 · 443 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,658 downloads/mo, #10,263 on PyPI

Verify before relying

pip install pycaw

from pycaw.pycaw import AudioUtilities
device = AudioUtilities.GetSpeakers()
volume = device.EndpointVolume
print(f"Volume level: {volume.GetMasterVolumeLevel()} dB")
volume.SetMasterVolumeLevel(-20.0, None)
  • Exact Python version support (requires_python is unspecified in metadata)
  • Whether comtypes and psutil are automatically installed or must be pre-installed
  • Full scope of audio session and device management beyond volume control
Same gist for agents: .md · .json

What it is and what it does

Pycaw is a Windows-only Python library that exposes the Windows Core Audio API for programmatic control of audio devices and sessions. It lets you query audio devices, read and set volume levels (in decibels), check mute state, and manage sound device properties directly from Python code. The library wraps low-level COM interfaces through comtypes and relies on psutil for system integration.

Typical use cases include building audio control panels, automating volume adjustments in applications, monitoring audio device state, or integrating audio management into larger Windows automation scripts. Because it is Windows-specific and built on COM interfaces, it has no equivalents on macOS or Linux and is not portable across platforms.

Use it for

  • Automate volume control in Windows desktop applications or scripts without user interaction
  • Query and monitor the state of audio devices and sessions for diagnostics or logging
  • Build custom audio control interfaces or dashboards that interact with Windows speakers and microphones
  • Integrate audio device management into Windows system automation or testing workflows

Worth the install?

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

With conditions

Yes, if you are building Windows-only audio control features and need programmatic access to Core Audio APIs.

The package is actively maintained, has low install friction, and no known vulnerabilities. The main caveat is the unclear license—verify the repository's license terms before use. Not suitable for cross-platform projects.

Install

pycaw on PyPI

Before you install

Installation is straightforward with low friction; the package depends on comtypes and psutil, both stable and widely available. Maintenance is active with a recent release (295 days ago) and ongoing commits.

Windows-only; requires Visual C++ build tools (e.g., via `choco install visualcpp-build-tools`). Not supported on macOS or Linux.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the repository before use in proprietary or restricted projects.

Quickstart

pip install pycaw

from pycaw.pycaw import AudioUtilities
device = AudioUtilities.GetSpeakers()
volume = device.EndpointVolume
print(f"Volume level: {volume.GetMasterVolumeLevel()} dB")
volume.SetMasterVolumeLevel(-20.0, None)

Verify before relying

  • Exact Python version support (requires_python is unspecified in metadata)
  • Whether comtypes and psutil are automatically installed or must be pre-installed
  • Full scope of audio session and device management beyond volume control

Package facts

LicenseNot declared unclear
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
comtypespsutil
MaintenanceActively maintained 295 days since the last release
Last repo commit
First released
Downloads175,658 / month, #10,263 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pycaw-20251023-py3-none-any.whl

Tags

Capabilities
windows audio control pythonvolume control windowsaudio device management windowscore audio windows apispeaker mute volume pythonaudio session controlwindows sound device python
Topics
windows-onlyaudio-controlcom-wrapper

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 › “windows audio control python”

  • pycawPycaw provides programmatic control of Windows audio devices,…
  • SoundCardSoundCard plays and records audio across Linux, macOS, and Windows…
  • pyfmodexPyfmodex provides Python bindings to the FMOD Engine audio library…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pulsectl · pydub · wiim · sonos-websocket · pyfmodex · PyAudio · python-songpal · SoundCard · python-osc