Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

android-file-bridge-0.1.1.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page