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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page