Android File Bridge
File browser library to interact with Android devices, using ADB.
Requirements
- Python 3.6+
- ADB binary available on path
Setup
Install android-file-bridge from PyPi using pip install android-file-bridge
Usage
Creating a device object
USB
Before using this, make sure the device is connected and available through adb devices.
from android_file_bridge import Device
connection = Device()
Network
from android_file_bridge import Device
connection = Device(ip_address="0.0.0.0") # obviously change this!
List a directory
connection.list_path("/sdcard/Download")
Download a file from your phone
connection.pull("/sdcard/important_file.pdf", "file.pdf")
Upload a file to your phone
connection.push("image.png", "/sdcard/cool_photo.png")
Release files for android-file-bridge 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| android-file-bridge-0.1.1.tar.gz | 2.6 kB | Details |
Release files / android-file-bridge-0.1.1.tar.gz
| Download URL | android-file-bridge-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
304c487a52c16f4b6d543eb2acda7e50542e352a4c80fd05cbcee9ffd65f1588
|
|
BLAKE2b-256 checksum How to use checksums |
c62f45864a1994d54b4848c029bfeea6a5b6a6686ba7f2bc70b923f407bc9858
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|