A wrapper for MEmu Command (MEMUC) in python.
Allows for easy interaction with MEmu VMs, including VM image management, VM control, running VM commands and ADB interaction.
pip install pymemuc
# import the PyMemuc class
from pymemuc import PyMemuc
# create a PyMemuc instance, doing so will automatically link to the MEMUC executable
memuc = PyMemuc()
# create a new vm
memuc.create_vm()
# list out all vms, get the index of the first one
index = memuc.list_vm_info()[0]['index']
# start the vm
memuc.start_vm(index)
# stop the vm
memuc.stop_vm(index)
See the demo notebook for more examples.
See the API documentation.