Skip to main content

aio_adb_shell

https://travis-ci.com/JeffLIrion/aio_adb_shell.svg?branch=master https://coveralls.io/repos/github/JeffLIrion/aio_adb_shell/badge.svg?branch=master

Documentation for this package can be found at https://aio-adb-shell.readthedocs.io/.

This Python package implements ADB shell and FileSync functionality. It originated from python-adb.

Installation

pip install aio-adb-shell

Example Usage

(Based on androidtv/adb_manager.py)

from aio_adb_shell.adb_device import AdbDeviceTcp
from aio_adb_shell.auth.sign_pythonrsa import PythonRSASigner

# Connect (no authentication necessary)
device1 = AdbDeviceTcp('192.168.0.111', 5555, default_timeout_s=9.)
await device1.connect(auth_timeout_s=0.1)

# Connect (authentication required)
with open('path/to/adbkey') as f:
    priv = f.read()
signer = PythonRSASigner('', priv)
device2 = AdbDeviceTcp('192.168.0.222', 5555, default_timeout_s=9.)
await device2.connect(rsa_keys=[signer], auth_timeout_s=0.1)

# Send a shell command
response1 = await device1.shell('echo TEST1')
response2 = await device2.shell('echo TEST2')

Metadata

Release files for aio-adb-shell 0.0.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 aio-adb-shell 0.0.1
File Size Uploaded Provenance
aio_adb_shell-0.0.1.tar.gz 22.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aio-adb-shell 0.0.1
File Interpreter ABI Platform
aio_adb_shell-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 52.9 kB

Release files / aio_adb_shell-0.0.1.tar.gz

Download URL aio_adb_shell-0.0.1.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
80d66c67fdabe082a9bafd6932b464b505e97e800dbb8934165c4ff0d4a49472
BLAKE2b-256 checksum
How to use checksums
7ec6a9f813db083427d8946965b7acd9a3e8a31fb48382e805adba0801c92d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

Release files / aio_adb_shell-0.0.1-py3-none-any.whl

Download URL aio_adb_shell-0.0.1-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4d5eef31ca70b268d8ebc2fb3c3eb618141422e9698455223f018b014eb12da
BLAKE2b-256 checksum
How to use checksums
a02ff13080110ff522fabdffda645194ab7376df3efc31de99a8b0b210cb6b15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

Security for aio-adb-shell 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.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