pyobjc-framework-AVFoundation
Wrappers for the framework AVFoundation on macOS
What it is and what it does
This package wraps Apple's AVFoundation framework for use in Python on macOS, translating Objective-C APIs into Python-callable interfaces. It sits on top of pyobjc-core and four framework dependencies (pyobjc-framework-CoreMedia, pyobjc-framework-CoreAudio, pyobjc-framework-Cocoa, and pyobjc-framework-Quartz) to expose audio capture, video recording, media playback, and related functionality.
Developers use it to build macOS applications that need native media handling—screen recording, audio input/output, video composition, or real-time media processing—without dropping into Objective-C. The package is a thin binding layer; it does not include its own documentation, so you rely on Apple's documentation and PyObjC's translation guides to understand how to call the underlying APIs.
Use it for:
- Build a macOS screen recorder or audio capture utility in Python.
- Create a video editing or composition tool that leverages native AVFoundation codecs.
- Develop a real-time audio processing application using AVFoundation's audio engine.
- Integrate media playback or streaming into a macOS desktop application.
- Access camera and microphone hardware directly for video conferencing or live streaming.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's AVFoundation framework, enabling access to audio, video, and media capabilities through PyObjC.
Yes, if you are developing on macOS and need native audio or video capabilities. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is moderate due to platform and Python version constraints, but that is inherent to any macOS-specific binding. Not applicable on Windows or Linux.
Install
pyobjc-framework-avfoundation on PyPI
pip
pip install pyobjc-framework-avfoundationuv
uv add pyobjc-framework-avfoundationpoetry
poetry add pyobjc-framework-avfoundationInstalling pyobjc-framework-AVFoundation
Before you install
Medium install friction due to platform specificity—wheels are macOS-only and require matching Python versions and architecture. Five runtime dependencies on other PyObjC framework packages add setup complexity. Active maintenance with recent releases.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install pyobjc-framework-avfoundation
import AVFoundation
# Use AVFoundation classes via the wrapper
macOS only; requires Python 3.10 or later and matching wheel architecture (universal2 or CPU-specific)
Verify before relying
- Whether AVFoundation bindings cover all current macOS versions or have version-specific gaps.
- Performance characteristics when handling high-bandwidth audio or video streams.
- Completeness of the wrapper relative to the native AVFoundation API surface.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 5 — pyobjc-core, pyobjc-framework-CoreMedia, pyobjc-framework-CoreAudio, pyobjc-framework-Cocoa, pyobjc-framework-Quartz |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 715,738/month — #5,247 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_avfoundation-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_avfoundation-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, AVFoundation, AVFAudio
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyobjc-framework-CinematicProvides Python bindings for Apple's Cinematic…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMediaProvides Python bindings to macOS's CoreMedia…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMediaIOProvides Python bindings to Apple's CoreMediaIO…
permissive · top 15,000 on PyPI
pyobjc-framework-AudioVideoBridgingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-PHASEProvides Python bindings to Apple's PHASE…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaPlayerProvides Python bindings to macOS's MediaPlayer…
permissive · top 15,000 on PyPI
pyobjc-framework-AVKitProvides Python bindings to macOS's AVKit…
permissive · top 15,000 on PyPI
pyobjc-framework-ImageCaptureCoreProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ScreenCaptureKitProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pymediainfopymediainfo extracts detailed metadata from…
permissive · top 5,000 on PyPI