Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michalkielan/simple-adb

Python library for adb protocol
https://github.com/michalkielan/simple-adb

adb adb-commands adb-protocol android-adb android-debug-bridge python python-android test test-automation

Last synced: about 8 hours ago
JSON representation

Python library for adb protocol

Awesome Lists containing this project

README

        

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.

.. code:: python

>>> 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 <./LICENSE>`__

.. |PyPi version| image:: https://img.shields.io/pypi/v/simpleadb?color=blue
:target: https://pypi.org/project/simpleadb
.. |Build| image:: https://github.com/michalkielan/simple-adb/actions/workflows/build.yml/badge.svg?branch=master
:target: https://github.com/michalkielan/simple-adb/actions/workflows/build.yml?query=branch%3Amaster
.. |Tests| image:: https://github.com/michalkielan/simple-adb/actions/workflows/tests.yml/badge.svg?branch=master
:target: https://github.com/michalkielan/simple-adb/actions/workflows/tests.yml?query=branch%3Amaster
.. |Codecov| image:: https://codecov.io/gh/michalkielan/simple-adb/branch/master/graph/badge.svg
:target: https://codecov.io/gh/michalkielan/simple-adb