Skip to content

pyclashbot/pymemuc

Repository files navigation

pymemuc

GitHub Documentation Status PyPI PyPI - Downloads PyPI - Python Version CodeFactor

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.

Installation

pip install pymemuc

Example usage

# 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.

Documentation

See the API documentation.