pyobjc-framework-Virtualization
Wrappers for the framework Virtualization on macOS
What it is and what it does
This package wraps Apple's native Virtualization framework, making it accessible from Python code running on macOS. It depends on pyobjc-core and pyobjc-framework-Cocoa to bridge Objective-C APIs into Python, allowing developers to programmatically create, configure, and manage virtual machines without dropping to shell commands or lower-level system calls.
The wrapper is a thin translation layer—it does not add documentation of its own, so users must consult Apple's official Virtualization framework documentation alongside PyObjC's general bridging patterns. It is actively maintained, supports modern Python versions (3.10 through 3.15, including free-threading variants), and carries no known security vulnerabilities.
Use it for:
- Build macOS automation tools that spawn and manage lightweight VMs programmatically.
- Develop testing infrastructure that creates isolated virtual environments on demand.
- Create desktop applications that need to run guest operating systems or containers.
- Implement VM lifecycle management (start, stop, snapshot) in Python scripts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's Virtualization framework, enabling programmatic control of virtual machines and related virtualization features on macOS systems.
Yes, if you are developing on macOS and need programmatic access to the Virtualization framework. Install friction is moderate (macOS-only, requires specific Python versions), but maintenance is active, the license is permissive, and there are no known vulnerabilities. Not applicable on other operating systems.
Install
pyobjc-framework-virtualization on PyPI
pip
pip install pyobjc-framework-virtualizationuv
uv add pyobjc-framework-virtualizationpoetry
poetry add pyobjc-framework-virtualizationInstalling pyobjc-framework-Virtualization
Before you install
Medium friction: platform-specific wheels for macOS only (universal2 binaries for multiple Python versions 3.10–3.15). Requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies. Active maintenance with recent releases (3 days old as of fact sheet date).
License in practice
MIT license (permissive) imposes no significant restrictions on use, modification, or redistribution in your own projects.
Quickstart
pip install pyobjc-framework-virtualization
from Virtualization import VZVirtualMachine
# Requires Apple's Virtualization framework documentation for API usage
macOS only; requires Python 3.10 or later; Virtualization framework availability depends on macOS version and hardware support.
Verify before relying
- Specific macOS version requirements for Virtualization framework access beyond Python 3.10 minimum.
- Whether free-threading support (3.13t, 3.14t, 3.15t wheels) is production-ready or experimental.
- Real-world performance or stability data for virtualization workloads via this binding.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 2 — pyobjc-core, pyobjc-framework-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 653,226/month — #5,535 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_virtualization-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_virtualization-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, Virtualization
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-NetFSProvides Python bindings to macOS's NetFS…
permissive · top 15,000 on PyPI
pyobjc-framework-DiskArbitrationProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
libvirt-pythonProvides Python bindings to the libvirt…
copyleft · top 15,000 on PyPI
pyobjc-framework-SystemConfigurationProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-BrowserEngineKitProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-CloudKitProvides Python bindings to Apple's CloudKit…
permissive · top 15,000 on PyPI
pyobjc-framework-ScreenSaverProvides Python bindings to macOS's ScreenSaver…
permissive · top 15,000 on PyPI
pyobjc-framework-FSKitProvides Python bindings to macOS's FSKit…
permissive · top 15,000 on PyPI
pyarmor.cli.core.alpinePyarmor CLI Core Alpine provides pre-built…
unclear · top 15,000 on PyPI