Automating memu emulator with pandas
Project description
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
Example:
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
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
pandasmemuc-0.15.tar.gz
(23.1 kB
view details)
Built Distribution
File details
Details for the file pandasmemuc-0.15.tar.gz
.
File metadata
- Download URL: pandasmemuc-0.15.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1479a76a88a82965e1e0fe9ad76dc1c5da9d914128f78243c16cc5f4c2c088 |
|
MD5 | e02f3c738786325855c8a0cab112c9d9 |
|
BLAKE2b-256 | 6a66fa3a4286191fce81cbf56579f825a2cbf675695172816bb73674f02154d9 |
File details
Details for the file pandasmemuc-0.15-py3-none-any.whl
.
File metadata
- Download URL: pandasmemuc-0.15-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07685ae286d72f17d39ff9735a724b78f74de18d6fce0a03958b7ab09972d2d6 |
|
MD5 | b7151b05ebf84cd5a8594ff776fd9a12 |
|
BLAKE2b-256 | 8c665b6e41e9cdef06adb45f196b5eabfc2182ddd1995c8bda89f12d8ba052e8 |