# pymemuc
[![GitHub](https://img.shields.io/github/license/pyclashbot/pymemuc)](LICENSE) [![Documentation Status](https://readthedocs.org/projects/pymemuc/badge/?version=latest)][full_doc] [![PyPI](https://img.shields.io/pypi/v/pymemuc) ![PyPI - Downloads](https://img.shields.io/pypi/dm/pymemuc)][pypi_link] [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pymemuc)][python_link] [![CodeFactor](https://www.codefactor.io/repository/github/pyclashbot/pymemuc/badge)][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/
Raw data
{
"_id": null,
"home_page": "https://github.com/pyclashbot/pymemuc",
"name": "pymemuc",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "memu, memuc, android-emulator, api",
"author": "Martin Miglio",
"author_email": "martin@pyclashbot.app",
"download_url": "https://files.pythonhosted.org/packages/79/78/2ac3fb8b21e3ffed668a27df06b022aeb526ba11404709c3edb45ee2d0e6/pymemuc-0.6.0.tar.gz",
"platform": null,
"description": "# pymemuc\n\n[![GitHub](https://img.shields.io/github/license/pyclashbot/pymemuc)](LICENSE) [![Documentation Status](https://readthedocs.org/projects/pymemuc/badge/?version=latest)][full_doc] [![PyPI](https://img.shields.io/pypi/v/pymemuc) ![PyPI - Downloads](https://img.shields.io/pypi/dm/pymemuc)][pypi_link] [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pymemuc)][python_link] [![CodeFactor](https://www.codefactor.io/repository/github/pyclashbot/pymemuc/badge)][codefactor_link]\n\nA Python API for MEmu Android Emulator.\nThe API exposes [MEmu Command (MEMUC)][memuc_docs] functionality in Python.\n\nAllows for easy interaction with MEmu VMs, including VM image management, VM control, running VM commands and ADB interaction.\n\n## Installation\n\n```bash\npip install pymemuc\n```\n\n## Example usage\n\n```python\n# import the PyMemuc class\nfrom pymemuc import PyMemuc\n\n# create a PyMemuc instance, doing so will automatically link to the MEMUC executable\nmemuc = PyMemuc()\n\n# create a new vm, saving the index\nindex = memuc.create_vm()\n\n# list out all vms\nprint(memuc.list_vm_info())\n\n# start the vm\nmemuc.start_vm(index)\n\n# stop the vm\nmemuc.stop_vm(index)\n```\n\nSee [the demo notebook][demo_notebook] for more examples.\n\n## Documentation\n\nSee the [API documentation][full_doc].\n\n[python_link]: https://www.python.org/\n[pypi_link]: https://pypi.org/project/pymemuc/\n[codefactor_link]: https://www.codefactor.io/repository/github/pyclashbot/pymemuc\n[memuc_docs]: https://www.memuplay.com/blog/memucommand-reference-manual.html\n[demo_notebook]: demo/demo.ipynb\n[full_doc]: https://pymemuc.pyclashbot.app/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python API for MEmu Android Emulator.",
"version": "0.6.0",
"project_urls": {
"Documentation": "https://pymemuc.pyclashbot.app/",
"Homepage": "https://github.com/pyclashbot/pymemuc",
"Repository": "https://github.com/pyclashbot/pymemuc"
},
"split_keywords": [
"memu",
" memuc",
" android-emulator",
" api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3570361a0c54d34da483b16b4cf6f8c0b6fe5f58e9e54f0d30771715f8f25ed4",
"md5": "f06a70070f3e4a5e4a87c96f75f79d63",
"sha256": "ed79165f7511a5cba2da1a5e354247c3ba91d53ab3f95ec0c1dae056f2a0db3d"
},
"downloads": -1,
"filename": "pymemuc-0.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f06a70070f3e4a5e4a87c96f75f79d63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 15324,
"upload_time": "2024-09-13T03:08:04",
"upload_time_iso_8601": "2024-09-13T03:08:04.397924Z",
"url": "https://files.pythonhosted.org/packages/35/70/361a0c54d34da483b16b4cf6f8c0b6fe5f58e9e54f0d30771715f8f25ed4/pymemuc-0.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "79782ac3fb8b21e3ffed668a27df06b022aeb526ba11404709c3edb45ee2d0e6",
"md5": "479ec9c16c5d1ba76ed8acfa11c942fb",
"sha256": "c1f5ab9c7834fa1390a2dc2adc56f263134b41876e8d338ed3d7f54b119b5a70"
},
"downloads": -1,
"filename": "pymemuc-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "479ec9c16c5d1ba76ed8acfa11c942fb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 12334,
"upload_time": "2024-09-13T03:08:05",
"upload_time_iso_8601": "2024-09-13T03:08:05.775623Z",
"url": "https://files.pythonhosted.org/packages/79/78/2ac3fb8b21e3ffed668a27df06b022aeb526ba11404709c3edb45ee2d0e6/pymemuc-0.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-13 03:08:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyclashbot",
"github_project": "pymemuc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pymemuc"
}