Provides easy to use file browser, over ADB
Project description
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")
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
File details
Details for the file android-file-bridge-0.1.1.tar.gz
.
File metadata
- Download URL: android-file-bridge-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 304c487a52c16f4b6d543eb2acda7e50542e352a4c80fd05cbcee9ffd65f1588 |
|
MD5 | ce75eaeb3bfebcd861e3fdcfdd781969 |
|
BLAKE2b-256 | c62f45864a1994d54b4848c029bfeea6a5b6a6686ba7f2bc70b923f407bc9858 |