/pymemuc

A wrapper for memuc in python

Primary LanguagePythonMIT LicenseMIT

pymemuc

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

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.

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

Documentation

See the API documentation.