PYthon wrapper for VirtualBOX Command-Line Interface
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)
Metadata
Release files for pyvboxcli 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyvboxcli-0.2.1.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyvboxcli-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 20.9 kB
Release files / pyvboxcli-0.2.1.tar.gz
| Download URL | pyvboxcli-0.2.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be1a5a9243cf98187ef4d86ab38aa48e246a78476433030bcb8021a981679934
|
|
BLAKE2b-256 checksum How to use checksums |
cca11cfe15ed4a9a26bb7d273bde56d32102bde3d88372e86dde38bb6e2c5ffc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Release files / pyvboxcli-0.2.1-py2.py3-none-any.whl
| Download URL | pyvboxcli-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
adf76c4eed3cff198603f7058352211ced48a2d5d00e3eff7adace0c59c8c179
|
|
BLAKE2b-256 checksum How to use checksums |
12997a1a2b3fa573a59d647533f3d81dd707df65fe9ca53835f72afabaafd3e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|