pandasmemuc


Namepandasmemuc JSON
Version 0.15 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/pandasmemuc
SummaryAutomating memu emulator with pandas
upload_time2023-08-06 04:58:24
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords memu memnuc pandas
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Automating memu emulator with pandas

## pip install pandasmemuc 

#### Tested against Windows 10 / Python 3.10 / Anaconda 


Memu Player and at least one Android instance must be installed https://www.memuplay.com/ 

Most of the command line stuff already implemented, documentation soon 

https://www.memuplay.com/blog/memucommand-reference-manual.html

https://www.memuplay.com/blog/wp-content/uploads/2016/02/MEmu-Command-Line-Management-Interface-Version-4.3.20_OSE.pdf



Example: 
	
```python


from pandasmemuc import MeMuc, phoneconfig
import pandas as pd

phoneconfig.phone_dataframe = pd.read_pickle("c:\\allphonedata.pkl") # optional
phoneconfig.mac_address_prefix = "52:54:00" 
df = MeMuc()
# df.create_vm_96().update_status()
df.import_vm(path=r"C:\ProgramData\anaconda3\envs\dfdir\memuimage.ova", name="mem38")
df.iloc[-1].bb_start()
df.iloc[-1].bb_installapp(r"C:\Users\hansc\Downloads\spotify-8-8-50-466.apk")
df.iloc[-1].bb_startapp('com.spotify.music')

# spoti = df.get_ui_automator_df(2)
# spoti = spoti.loc[(spoti.bb_resource_id == 'com.spotify.music:id/bottom_navigation_item_icon') & (spoti.bb_content_desc == 'Buscar')].iloc[0].ff_bb_tap_exact_center
# spoti = df.get_ui_automator_df(2)
# spoti.loc[spoti.bb_resource_id == 'com.spotify.music:id/find_search_field'].ff_bb_tap_exact_center.iloc[0]()
# df.bb_input_natural.iloc[0]('AC/DC')
# allbois.reindex(allbois.bb_text.str.len().sort_values().index).iloc[0].ff_bb_tap_exact_center()
# df.bb_adbtools.iloc[-1].aa_disable_notifications()
# df.bb_adbtools.iloc[-1].aa_force_stop('com.microvirt.memuime')
# df = m.get_ui_automator_df(0, save_screenshot=True) # check out https://github.com/hansalemaos/adbkit

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/pandasmemuc",
    "name": "pandasmemuc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "memu,memnuc,pandas",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6a/66/fa3a4286191fce81cbf56579f825a2cbf675695172816bb73674f02154d9/pandasmemuc-0.15.tar.gz",
    "platform": null,
    "description": "\r\n# Automating memu emulator with pandas\r\n\r\n## pip install pandasmemuc \r\n\r\n#### Tested against Windows 10 / Python 3.10 / Anaconda \r\n\r\n\r\nMemu Player and at least one Android instance must be installed https://www.memuplay.com/ \r\n\r\nMost of the command line stuff already implemented, documentation soon \r\n\r\nhttps://www.memuplay.com/blog/memucommand-reference-manual.html\r\n\r\nhttps://www.memuplay.com/blog/wp-content/uploads/2016/02/MEmu-Command-Line-Management-Interface-Version-4.3.20_OSE.pdf\r\n\r\n\r\n\r\nExample: \r\n\t\r\n```python\r\n\r\n\r\nfrom pandasmemuc import MeMuc, phoneconfig\r\nimport pandas as pd\r\n\r\nphoneconfig.phone_dataframe = pd.read_pickle(\"c:\\\\allphonedata.pkl\") # optional\r\nphoneconfig.mac_address_prefix = \"52:54:00\" \r\ndf = MeMuc()\r\n# df.create_vm_96().update_status()\r\ndf.import_vm(path=r\"C:\\ProgramData\\anaconda3\\envs\\dfdir\\memuimage.ova\", name=\"mem38\")\r\ndf.iloc[-1].bb_start()\r\ndf.iloc[-1].bb_installapp(r\"C:\\Users\\hansc\\Downloads\\spotify-8-8-50-466.apk\")\r\ndf.iloc[-1].bb_startapp('com.spotify.music')\r\n\r\n# spoti = df.get_ui_automator_df(2)\r\n# spoti = spoti.loc[(spoti.bb_resource_id == 'com.spotify.music:id/bottom_navigation_item_icon') & (spoti.bb_content_desc == 'Buscar')].iloc[0].ff_bb_tap_exact_center\r\n# spoti = df.get_ui_automator_df(2)\r\n# spoti.loc[spoti.bb_resource_id == 'com.spotify.music:id/find_search_field'].ff_bb_tap_exact_center.iloc[0]()\r\n# df.bb_input_natural.iloc[0]('AC/DC')\r\n# allbois.reindex(allbois.bb_text.str.len().sort_values().index).iloc[0].ff_bb_tap_exact_center()\r\n# df.bb_adbtools.iloc[-1].aa_disable_notifications()\r\n# df.bb_adbtools.iloc[-1].aa_force_stop('com.microvirt.memuime')\r\n# df = m.get_ui_automator_df(0, save_screenshot=True) # check out https://github.com/hansalemaos/adbkit\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automating memu emulator with pandas",
    "version": "0.15",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/pandasmemuc"
    },
    "split_keywords": [
        "memu",
        "memnuc",
        "pandas"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c665b6e41e9cdef06adb45f196b5eabfc2182ddd1995c8bda89f12d8ba052e8",
                "md5": "b7151b05ebf84cd5a8594ff776fd9a12",
                "sha256": "07685ae286d72f17d39ff9735a724b78f74de18d6fce0a03958b7ab09972d2d6"
            },
            "downloads": -1,
            "filename": "pandasmemuc-0.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b7151b05ebf84cd5a8594ff776fd9a12",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 23128,
            "upload_time": "2023-08-06T04:58:22",
            "upload_time_iso_8601": "2023-08-06T04:58:22.777847Z",
            "url": "https://files.pythonhosted.org/packages/8c/66/5b6e41e9cdef06adb45f196b5eabfc2182ddd1995c8bda89f12d8ba052e8/pandasmemuc-0.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a66fa3a4286191fce81cbf56579f825a2cbf675695172816bb73674f02154d9",
                "md5": "e02f3c738786325855c8a0cab112c9d9",
                "sha256": "fe1479a76a88a82965e1e0fe9ad76dc1c5da9d914128f78243c16cc5f4c2c088"
            },
            "downloads": -1,
            "filename": "pandasmemuc-0.15.tar.gz",
            "has_sig": false,
            "md5_digest": "e02f3c738786325855c8a0cab112c9d9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 23092,
            "upload_time": "2023-08-06T04:58:24",
            "upload_time_iso_8601": "2023-08-06T04:58:24.430331Z",
            "url": "https://files.pythonhosted.org/packages/6a/66/fa3a4286191fce81cbf56579f825a2cbf675695172816bb73674f02154d9/pandasmemuc-0.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-06 04:58:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "pandasmemuc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pandasmemuc"
}
        
Elapsed time: 0.10193s