PYthon wrapper for VirtualBOX Command-Line Interface
Project description
This is a small tool providing a python wrapper around virtualbox command-line tools. It does not depend on any SDK, instead it mostly just parses the output of VBoxManage --machinereadable
It is also executable by itself providing small helpers on top of VBoxManage itself.
Usage
pipx run pyvboxcli --help
Documentation
Published via gitlab pages
Generate: tox -e docs
Testing
Run tox or pytest
Some tests use vagrant to create a target VM, they are skipped if vagrant or virtualbox is missing. The gitlab pipeline runs python tests in two jobs:
“mini-test”, only relying on python
“full-test”, relying on vagrant and a priviledged gitlab runner.
Other notes:
Full Test Coverage: https://gitlab.com/cdleonard/pyvboxcli/-/jobs/artifacts/main/file/htmlcov/index.html?job=mini-test
Mini Test Coverage: https://gitlab.com/cdleonard/pyvboxcli/-/jobs/artifacts/main/file/htmlcov/index.html?job=full-test
Some tests use vagrant to create a real virtualbox VM. The target VM is automatically started and halted by the test session. If the target is already running it is kept running after the test, so to reduce test time you can do:
( cd vagrant-target && vagrant up)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyvboxcli-0.2.1.tar.gz
.
File metadata
- Download URL: pyvboxcli-0.2.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1a5a9243cf98187ef4d86ab38aa48e246a78476433030bcb8021a981679934 |
|
MD5 | f2eebf3c09956b4972c945e8af7c3b1a |
|
BLAKE2b-256 | cca11cfe15ed4a9a26bb7d273bde56d32102bde3d88372e86dde38bb6e2c5ffc |
File details
Details for the file pyvboxcli-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pyvboxcli-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf76c4eed3cff198603f7058352211ced48a2d5d00e3eff7adace0c59c8c179 |
|
MD5 | 3d6087ada4102c396f0d2241a563a462 |
|
BLAKE2b-256 | 12997a1a2b3fa573a59d647533f3d81dd707df65fe9ca53835f72afabaafd3e9 |