Skip to main content

A Memuc.exe wrapper for Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymemuc-0.2.1.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

pymemuc-0.2.1-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page