Python wrapper for adb_client library
Project description
pyadb_client
Python library to communicate with ADB devices. Built on top of Rust adb_client library.
Examples
Use ADB server
server = pyadb_client.PyADBServer("127.0.0.1:5037")
for i, device in enumerate(server.devices()):
print(i, device.identifier, device.state)
# Get only connected device
device = server.get_device()
print(device, device.identifier)
Push a file on device
usb_device = PyADBUSBDevice.autodetect()
usb_device.push("file.txt", "/data/local/tmp/file.txt")
Local development
# Create Python virtual environment
cd pyadb_client
python3 -m venv .venv
source .venv/bin/activate
# Install needed dependencies
pip install -e .
# Build development package
maturin develop
# Build release Python package
maturin build --release
# Publish Python package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyadb_client-2.1.0.tar.gz
(20.0 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyadb_client-2.1.0.tar.gz.
File metadata
- Download URL: pyadb_client-2.1.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
023c2fb8efd03615f13e839c29fabaae660a2d86aea523f925ea60a1494359c3
|
|
| MD5 |
bb905aa784d76ec5215206a439bd5720
|
|
| BLAKE2b-256 |
9e71add7687af14d8e805c65fe24ca76370e2acefc66a1a4154b3bf175772449
|
File details
Details for the file pyadb_client-2.1.0-cp313-cp313-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: pyadb_client-2.1.0-cp313-cp313-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 919.5 kB
- Tags: CPython 3.13, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
059ad66b5fd23641bfa2f670bd731e6b7a0cd57d2f04523edc5a4d05e96da28e
|
|
| MD5 |
7b38ca5d3dd877739bc7199ad4a411cb
|
|
| BLAKE2b-256 |
25bc6d947eb976d041423488c565378d026f430068be52427a72636595a05725
|
File details
Details for the file pyadb_client-2.1.0-cp38-abi3-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: pyadb_client-2.1.0-cp38-abi3-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 922.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d5364950ee568fcb6fafa68d45c3a49e041631ebe4c1b48c7101053a7b6992
|
|
| MD5 |
95e65af927039456a626d77128e31d2a
|
|
| BLAKE2b-256 |
9fee21ff60f01eb9d4e3805751e35a2dc7f14a70a68e7c6fb06cc340f33750d1
|