# 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": "",
"docs_url": null,
"requires_python": ">=3.9,<3.13",
"maintainer_email": "",
"keywords": "memu,memuc,android-emulator,api",
"author": "Martin Miglio",
"author_email": "martin@pyclashbot.app",
"download_url": "https://files.pythonhosted.org/packages/a3/31/936376962ea3b08dc213a117fc0eec2d55392d2d2cc67f45a39a0f85179b/pymemuc-0.5.5.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.5.5",
"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": "6b2b276ba7dfe9433c35325dead638f35df5b8f485574c8bc37f320231e3e7e2",
"md5": "f3e78d905fa3bbce3be932af8e16eee1",
"sha256": "c9bd7fdbd6788cd814a55e37ca4516679f992b0e41d205de8c6f6f7fc20656ad"
},
"downloads": -1,
"filename": "pymemuc-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f3e78d905fa3bbce3be932af8e16eee1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<3.13",
"size": 15318,
"upload_time": "2024-03-11T17:59:55",
"upload_time_iso_8601": "2024-03-11T17:59:55.664516Z",
"url": "https://files.pythonhosted.org/packages/6b/2b/276ba7dfe9433c35325dead638f35df5b8f485574c8bc37f320231e3e7e2/pymemuc-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a331936376962ea3b08dc213a117fc0eec2d55392d2d2cc67f45a39a0f85179b",
"md5": "9d7f503bbfbcaceb467b532fe53712e2",
"sha256": "796afc7431e8a3261dd523d109952b9604542ebd9b18fb3338b3e8e32cfcccb4"
},
"downloads": -1,
"filename": "pymemuc-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "9d7f503bbfbcaceb467b532fe53712e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<3.13",
"size": 12330,
"upload_time": "2024-03-11T17:59:57",
"upload_time_iso_8601": "2024-03-11T17:59:57.537586Z",
"url": "https://files.pythonhosted.org/packages/a3/31/936376962ea3b08dc213a117fc0eec2d55392d2d2cc67f45a39a0f85179b/pymemuc-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-11 17:59:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyclashbot",
"github_project": "pymemuc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pymemuc"
}