Giter VIP home page Giter VIP logo

aqube_core's Introduction

AQube_Core

Coverity Scan Build Status

一个能够批量对android设备进行操作的软件,基于Python3。

安装

pip install aqube
python3 -m AQube_Core xxx

使用场景

  • 在多台设备连接到同一台电脑上时对他们进行批量操作。
  • 保持多台设备的配置一致。
  • 监控设备的连接状态。

功能

设备id统一使用逗号隔开

安装/删除/更新 软件

python run.py install --device 123456F --apk_src <url或者apk文件>
python run.py uninstall --device 123456F --package <包名>

修改设置

python run.py setting --device 123456F --action airplane_on
python run.py setting --device 123456F --action airplane_off
python run.py setting --device 123456F --action wifi_on
python run.py setting --device 123456F --action wifi_off

文件管理

python run.py push --device 123456F --src <src_path_in_pc> --dst <dst_path_in_android>
python run.py pull --device 123456F --src <src_path_in_android> --dst <dst_path_in_pc>

截图

python run.py screenshot --dst <dst_path_in_pc> --device 123456F

获取可用设备

python run.py get_devices

运行自定义adb命令

python run.py exec_cmd --device 123456F --cmd 'ls' --shell 1
python run.py exec_cmd --device 123456F --cmd 'install -t xxx.apk' --shell 0

运行自定义shell脚本

python run.py exec_extend_shell --device 123456F --shell_name turn_on_assistant.sh

TODO

本身:

  • 封装成桌面应用供用户使用
  • 提供更加细致的操作方案(例如借助json、yaml)
  • 需要有良好方便的插件化扩展能力,方便加新功能

与其他模块结合:

  • 作为设备管理层存在,为上层server做支撑
  • 往 任务分发 + 设备管理 平台发展

Further: QubeSystem

应用DevOps模式的自动化管理平台

  • 设备管理
  • 状态监控
  • 任务分发
  • 环境控制

aqube_core's People

Contributors

williamfzc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.