Skip to main content

py-adb

A simple python library for Android Debug Bridge (ADB) developed by zhangjiahuichenxi

Install

pip install python-adb

Usage

from py_adb import *
## get all devices
get_devices_list()
## get No.1 device
get_device()
## get No.x device
get_device(x-1)
## install apk
install_apk(apk_path)
uninstall_apk(package_name)
## set device
set_device(device_id)
## set adb path
set_adb_path(adb_path)
## get adb path
get_adb_path()
## get adb vsersion
get_adb_version()
## get adb vsersion code
get_adb_version_code()
## connect device using network
net_connect(device_ip)
## get devices count
get_devices_count()
## get devices list
get_devices_list()
## auto set device
auto_set_device()
## root 
root()

Metadata

Release files for adb-api 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adb-api 0.1.1
File Size Uploaded Provenance Actions
adb_api-0.1.1.tar.gz 3.4 kB Without provenance Details for adb_api-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adb-api 0.1.1
File Interpreter ABI Platform Actions
adb_api-0.1.1-py3-none-any.whl Python 3 none any Details for adb_api-0.1.1-py3-none-any.whl

Total release size: 7.4 kB

Release files / adb_api-0.1.1.tar.gz

Download URL adb_api-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3eec215f382425609b143fa8dae13ff296a9cbf10683208e046b0fd31faf69a2
BLAKE2b-256 checksum
How to use checksums
a40a485372baf16e79b25d999ccc0364422c301707a5568a556af2e32ec19523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / adb_api-0.1.1-py3-none-any.whl

Download URL adb_api-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4162a27c18bc1b752b5cac40e707083d8c85608a95ff060a7a4d98aa36e35795
BLAKE2b-256 checksum
How to use checksums
49b05bcd9ed05ddde6d4b832a00c74236e98e2ea2096fa74137ab0c0cf21577b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for adb-api 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page