Read and edit .vmx configurations file programmatically
Project description
Python module for safely reading and editing .vmx files for vmware virtual machines. This is especially helpful if the user only has vmware Player
Example:
from vmx_editor.editor import Editvmx
vm = Editvmx()
vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Hardware.VIRTUAL_MEMORY, 4000)
vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Connection.FIRST_ETHERNET_CONNECTION_TYPE, vm.Values.Connection.BRIDGED)
print(vm.read_setting(vm.find_vmx(), vm.Settings.Hardware.VIRTUAL_MEMORY))
vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Hardware.HARDWARE_VERSION, 11)
Install:
pip install vmx-editor
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
vmx_editor-0.3.2.tar.gz
(2.5 kB
view hashes)