A Python API for MEmu Android Emulator. The API exposes MEmu Command (MEMUC) functionality 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, saving the index
index = memuc.create_vm()
# list out all vms
print(memuc.list_vm_info())
# 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.