Skip to main content

VirtualBox CLI bindings

Project description

License: BSD.

Yet another Python library of Python bindings for Virtual Box CLI (Command Line Interface).

Motivation

It appears that VirtualBox binary API is rather unstable, while CLI interface is quite stable. Plus, using binary interface means that one has to compile bindings library for particular host being used. This can be not as simple as it should be on some systems (e.g. Windows). Binary bindings are also of a concern when packaging ones’ program in to the redistributable packages.

To the best of my current knowledge, the only competing project worth noting is pyvb. But it seems to be rather dead at the moment with last release dating back to the 2008. And its GPL license is sadly not really suitable for my current needs.

Features

The main difference of this library of bindings is that I am making “smart” objective bindings rather just set of Python functions that call corresponding CLI commands.

I am attempting to hide as much of low-level VM management as possible and to represent all VM–related entities (NICs, HDDs, etc. ) as Python objects with functions of their own and properties parsed to their corresponding Python objects. Plus, I am attempting to make more consistent interface than VirtualBox’es CLI is.

Requirements

Just a reasonably recent version of Python.

How do I use it?

Deployment

You should be able to install this project via easy_install vbox route.

Alternatively, you can include this library as git submodule. If you do that, please make sure to include this projects’ release branch, not master. As release is the one that will contain versions of code that were actually released to the VBox pypy package page , so you will get automatic code updates than, but won’t get all the frustration of me accidentally breaking something via committing stuff to the master branch (that is development/testing branch).

API

I will write this part eventually. Please refer to the VBox tests for now.

Can I contribute?

Sure. That is why I am hosting VBox on the GitHub. :-)

Project details


Download files

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

Source Distribution

vbox-0.2.4a.zip (29.8 kB view details)

Uploaded Source

Built Distributions

vbox-0.2.4a.win-amd64.exe (255.3 kB view details)

Uploaded Source

vbox-0.2.4a-py2.7.egg (76.1 kB view details)

Uploaded Source

File details

Details for the file vbox-0.2.4a.zip.

File metadata

  • Download URL: vbox-0.2.4a.zip
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vbox-0.2.4a.zip
Algorithm Hash digest
SHA256 6eaaa01d8bbd005c33eb82cbfda0754ad9744c0892f75d91e150eeeae2d53dd5
MD5 b608187bed98bd99e24882b3c829f782
BLAKE2b-256 5fc0e041fb2c2a92cd362f77bce3b35e258eb33e07b75dcf46601af1d9866b14

See more details on using hashes here.

File details

Details for the file vbox-0.2.4a.win-amd64.exe.

File metadata

File hashes

Hashes for vbox-0.2.4a.win-amd64.exe
Algorithm Hash digest
SHA256 bd4fb65305e38c7702c73d53df9d8c47c39dc448e00f76ac65e68b2b6fe10a5e
MD5 4fef060b1515d442fcf6f111f2436ed8
BLAKE2b-256 7687d5d1983a10b2db9c59799447d5d508a6e72a2863d5ea4849758fbc4e46ae

See more details on using hashes here.

File details

Details for the file vbox-0.2.4a-py2.7.egg.

File metadata

  • Download URL: vbox-0.2.4a-py2.7.egg
  • Upload date:
  • Size: 76.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vbox-0.2.4a-py2.7.egg
Algorithm Hash digest
SHA256 90ecfb3b4265653a74a271b55b16f76b62e7e4be49a50c045320588af70ac5f0
MD5 bd7f283e450e9c902b967073c1a70564
BLAKE2b-256 d319f04665a5ab1a78137f3b064c89398d82570f8e794b63b4b2d52e5e014f7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page