Skip to main content
https://img.shields.io/pypi/v/vbox_sdk.svg https://img.shields.io/pypi/pyversions/vbox_sdk.svg https://img.shields.io/pypi/l/vbox_sdk.svg https://img.shields.io/pypi/dm/vbox_sdk.svg

Oracle provides this SDK to interface with VirtualBox. This branch contains only the Python bindings (vboxapi) extracted from Oracle’s SDK, packaged for installation via pip. For the full SDK exactly as Oracle ships it, see the main branch instead.

A new release is published here automatically whenever Oracle publishes a new VirtualBox SDK version; the package version always matches VirtualBox’s own version number (see pyproject.toml).

The code is available on Github and PyPI.

Installation

Since the package is listed on PyPI, you can install it with:

pip install vbox-sdk

Please note that this package conflicts with the vboxapi package.

If you need the bindings for a specific old VirtualBox version, pin that version, e.g. pip install vbox-sdk==7.0.14.

Usage

I won’t attempt to document the full API since I’m not the maintainer of the actual code. However, if, like me, all you’re trying to do is manage the VMs in VirtualBox, you’ll want to check out the vboxapi.VirtualBoxManager class in particular. From the SDK Reference manual, here’s an example of how to use the manager to perform some basic tasks:

from vboxapi import VirtualBoxManager
mgr = VirtualBoxManager(None, None)
vbox = mgr.vbox
name = "Linux"
mach = vbox.findMachine(name)
session = mgr.getSessionObject(vbox)
progress = mach.launchVMProcess(session, "gui", "")
progress.waitForCompletion(-1)
mgr.closeMachineSession(session)

License

Although I’ve listed this repository as being licensed under “The Unlicense”, I am not the originator of the code. The license information in SDKRef.pdf (in the docs folder) contains this explanation of the code’s license:

The sample code files shipped with the SDK are generally licensed liberally to make it easy for anyone to use this code for their own application code.

The Java files under bindings/webservice/java/jax-ws/ (library files for the object-oriented web service) are, by contrast, licensed under the GNU Lesser General Public License (LGPL) V2.1.

See sdk/bindings/webservice/java/jax-ws/src/COPYING.LIB for the full text of the LGPL 2.1.

When in doubt, please refer to the individual source code files shipped with this SDK.

My hope is that by storing the SDK here, it will be of use to those who want to install the library from pip as well as those working with Git repositories exclusively, but I cannot take responsibility for the code as provided by Oracle.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vbox_sdk-7.2.12.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vbox_sdk-7.2.12-py3-none-any.whl (80.0 kB view details)

Uploaded Python 3

File details

Details for the file vbox_sdk-7.2.12.tar.gz.

File metadata

  • Download URL: vbox_sdk-7.2.12.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vbox_sdk-7.2.12.tar.gz
Algorithm Hash digest
SHA256 4ce15f15e461e23a713bf9a0f40f5c64116f9a4cc37c4281e440e7d016edef86
MD5 cc8ee65f61c4bf58163acd4eebed23ae
BLAKE2b-256 35dbc0ea07d16516453b33e68b3b95b636f7c50c57eea6c25d718f1aef8541a6

See more details on using hashes here.

File details

Details for the file vbox_sdk-7.2.12-py3-none-any.whl.

File metadata

  • Download URL: vbox_sdk-7.2.12-py3-none-any.whl
  • Upload date:
  • Size: 80.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vbox_sdk-7.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 ed154898ffe94cbf0cee4ffe64321d4a5b8a84c97d6c8f77fb7bf488bc07eb2e
MD5 8183a6956b8eccf4d6850d0113aa38c3
BLAKE2b-256 266f25b1744d7e770de18052e478bd9435ccfaba1723f055a896c2278253ec23

See more details on using hashes here.

Release history Release notifications | RSS feed

7.2.16

2 files

7.2.14

2 files

This release

7.2.12 This release

2 files

7.2.10

2 files

7.2.8

2 files

7.2.6

2 files

7.2.4

2 files

7.2.2

2 files

7.2.0

2 files

7.1.18

2 files

7.1.16

2 files

7.1.14

2 files

7.1.12

2 files

7.1.10

2 files

7.1.8

2 files

7.1.6

2 files

7.1.4

2 files

7.1.2

2 files

7.1.0

2 files

7.0.26

2 files

7.0.24

2 files

7.0.22

2 files

7.0.20

2 files

7.0.18

2 files

7.0.16

2 files

7.0.14

2 files

7.0.12

2 files

7.0.10

2 files

7.0.8

2 files

7.0.6

2 files

7.0.4

2 files

7.0.2

2 files

7.0.0

2 files

6.1.50

2 files

6.1.48

2 files

6.1.46

2 files

6.1.44

2 files

6.1.42

2 files

6.1.40

2 files

6.1.38

2 files

6.1.36

2 files

6.1.34

2 files

6.1.32

2 files

6.1.30

2 files

6.1.28

2 files

6.1.26

2 files

6.1.24

2 files

6.1.22

2 files

6.1.20

2 files

6.1.18

2 files

6.1.16

2 files

6.1.14

2 files

6.1.12

2 files

6.1.10

2 files

6.1.8

2 files

6.1.6

2 files

6.1.4

2 files

6.1.2

2 files

6.1.0

2 files

6.0.24

2 files

6.0.22

2 files

6.0.20

2 files

6.0.18

2 files

6.0.16

2 files

6.0.14

2 files

6.0.12

2 files

6.0.10

2 files

6.0.8

2 files

6.0.6

2 files

6.0.4

2 files

6.0.2

2 files

6.0.0

2 files

5.1.18-0

2 files

5.1.18

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page