https://github.com/pyclashbot/pymemuc
A Python API for MEmu Android Emulator
https://github.com/pyclashbot/pymemuc
android-emulator memu memuc python
Last synced: about 1 year ago
JSON representation
A Python API for MEmu Android Emulator
- Host: GitHub
- URL: https://github.com/pyclashbot/pymemuc
- Owner: pyclashbot
- License: mit
- Created: 2022-10-26T09:54:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T07:15:20.000Z (about 1 year ago)
- Last Synced: 2025-03-29T11:04:24.051Z (about 1 year ago)
- Topics: android-emulator, memu, memuc, python
- Language: Python
- Homepage: https://pymemuc.pyclashbot.app/
- Size: 1.38 MB
- Stars: 35
- Watchers: 2
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
- License: LICENSE
Awesome Lists containing this project
README
# pymemuc
[](LICENSE) [][full_doc] [ ][pypi_link] [][python_link] [][codefactor_link]
A Python API for MEmu Android Emulator.
The API exposes [MEmu Command (MEMUC)][memuc_docs] functionality in Python.
Allows for easy interaction with MEmu VMs, including VM image management, VM control, running VM commands and ADB interaction.
## Installation
```bash
pip install pymemuc
```
## Example usage
```python
# 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][demo_notebook] for more examples.
## Documentation
See the [API documentation][full_doc].
[python_link]: https://www.python.org/
[pypi_link]: https://pypi.org/project/pymemuc/
[codefactor_link]: https://www.codefactor.io/repository/github/pyclashbot/pymemuc
[memuc_docs]: https://www.memuplay.com/blog/memucommand-reference-manual.html
[demo_notebook]: demo/demo.ipynb
[full_doc]: https://pymemuc.pyclashbot.app/