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 1 month ago
JSON representation
Python library for adb protocol
- Host: GitHub
- URL: https://github.com/michalkielan/simple-adb
- Owner: michalkielan
- License: gpl-3.0
- Created: 2019-05-08T15:00:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T21:41:33.000Z (about 2 months ago)
- Last Synced: 2025-03-29T21:46:46.155Z (about 2 months ago)
- Topics: adb, adb-commands, adb-protocol, android-adb, android-debug-bridge, python, python-android, test, test-automation
- Language: Python
- Homepage:
- Size: 3.07 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: LICENSE
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