skillfed

pyobjc-framework-Virtualization

Wrappers for the framework Virtualization on macOS

pyobjc-framework-virtualization v12.2.2 653.2K downloads/30d#5,535 on PyPI803
Permissive license MIT Active released

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-virtualization

uv

uv add pyobjc-framework-virtualization

poetry

poetry add pyobjc-framework-virtualization

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macos virtualization framework pythonvm control python macospyobjc virtualization bindingsmacos virtual machine apihypervisor framework python
macos-onlyvirtualizationpyobjc-binding

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-NetFS

Provides Python bindings to macOS's NetFS…

permissive · top 15,000 on PyPI

pyobjc-framework-DiskArbitration

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

libvirt-python

Provides Python bindings to the libvirt…

copyleft · top 15,000 on PyPI

pyobjc-framework-SystemConfiguration

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-BrowserEngineKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CloudKit

Provides Python bindings to Apple's CloudKit…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenSaver

Provides Python bindings to macOS's ScreenSaver…

permissive · top 15,000 on PyPI

pyobjc-framework-FSKit

Provides Python bindings to macOS's FSKit…

permissive · top 15,000 on PyPI

pyarmor.cli.core.alpine

Pyarmor CLI Core Alpine provides pre-built…

unclear · top 15,000 on PyPI