Skip to content

michalkielan/simple-adb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple adb

PyPi version Build Tests Codecov

Object oriented python wrapper for adb protocol.

Install

To install the current release.

$ pip install simpleadb

Usage

Try your first program.

>>> import simpleadb
>>> adb_server = simpleadb.AdbServer()
>>> devices = adb_server.devices()
>>> emulator = devices[0]
>>> emulator
'emulator-5554'
>>> emulator.root()
restarting adbd as root
0
>>> emulator.reboot()

For more examples, see API documentation.

License

GPL3