Skip to main content

phonefarm-connect

Connect your local Android device to the PhoneFarm Cloud platform.

Install

pip install phonefarm-connect

# Optional: better JPEG compression (recommended)
pip install "phonefarm-connect[quality]"

Usage

  1. Go to the PhoneFarm dashboard → Devices → Add Device → Cloud Relay
  2. Click Generate Code to get a 6-char code
  3. Plug your Android phone into this PC via USB and enable USB Debugging
  4. Run:
phonefarm-connect --server ws://yourserver:8890 --code ABCD12

The device will appear in your dashboard automatically.

Options

--server   WebSocket URL of your PhoneFarm server  (default: ws://localhost:8890)
--code     6-char connection code from the dashboard  [required]
--serial   ADB device serial (auto-detects if only one device connected)
--fps      Screen stream FPS, 1-30  (default: 8)
--quality  JPEG quality 10-95  (default: 35)
--scale    Screen scale factor 0.1-1.0  (default: 0.4)

Requirements

Metadata

Release files for phonefarm-connect 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phonefarm-connect 0.1.0
File Size Uploaded
phonefarm_connect-0.1.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phonefarm-connect 0.1.0
File Interpreter ABI Platform
phonefarm_connect-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / phonefarm_connect-0.1.0.tar.gz

Download URL phonefarm_connect-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b38f290d96ac1de967ee4227464e8c889295a3120079725dbb497250cf9ab801
BLAKE2b-256 checksum
How to use checksums
659b4930a96f4ceca92b477bf92f2723c6b2a16fea519a5aaabf25185aab5643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / phonefarm_connect-0.1.0-py3-none-any.whl

Download URL phonefarm_connect-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39107187f63e8be9227adb24550d5eaa1fcf8f1a89ced4066e2573da737fe938
BLAKE2b-256 checksum
How to use checksums
850e85322f7e12d9ef16bc55462d0e4486cfa84df24030340b9f1100afebe944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page