Skip to content

Python module making interaction with android adb easier

Notifications You must be signed in to change notification settings

emmanuil/adb-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adb-lib

A python module which makes interaction with android adb easier.

Build status & coverage status

Build Status

Coverage Status

Purpose

This module can be used by everyone who implements some android-related stuff on Python and at the same time has to interact with android adb.

It makes interaction with android adb easier because of proper error handling and some useful features.

What's supported?

Currently following adb commands are supported:

  • adb push
  • adb pull
  • adb shell
  • adb devices

Currently following adb commands are not supported:

  • adb install
  • adb forward
  • adb get-serialno
  • adb get-state
  • adb wait-for-device
  • adb start-server
  • adb kill-server
  • adb logcat
  • adb bugreport
  • adb jdwp
  • adb help
  • adb version
  • adb -d
  • adb -e
  • adb -s

How to install and use?

  1. Execute install command in root folder:
python setup.py install
  1. Import adb to your module and just use it:
import adb

adb.push(/tmp/file.txt, /data/media/0)
adb.pull(/data/media/0/file.txt, /tmp/)

...

How to contribute?

  • To implement adb commands which are currently not supported by the module (see above)
  • To increase unit test coverage for already supported commands
  • To bring your ideas!

About

Python module making interaction with android adb easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%