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.

Files for android-file-bridge, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size android-file-bridge-0.1.1.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page