Skip to main content

Android window manager using Scrcpy on PC

Project description

logo

Scrcpy Window Manager

Use cases

  • Use your phone at work
  • Share data between PC and Android device
  • Bring your work wherever you go
  • Experience something like Samsung Dex
  • A more ergonomic way of using your Android phone
  • Boost productivity by multi-tasking on Android

Requirements

Your Android version must be 10.0 or higher.

USB debugging (ADB) must be enabled.

Your phone need to be rooted, and com.android.shell must have root permission.

Features

  • Multi-window, multi-application support
  • Fuzzy search interface for managing apps, sessions, input methods, etc.
  • Session persistance
  • Config file customization
  • PC-side UTF-8 input method support

Installation

Using pip:

pip install swm-android

Command line

SWM - Scrcpy Window Manager

Usage:
  swm init [force]
  swm [options] repl
  swm [options] healthcheck
  swm [options] adb [<adb_args>...]
  swm [options] scrcpy [<scrcpy_args>...]
  swm [options] app run <query> [no-new-display] [<init_config>]
  swm [options] app list [with-last-used-time] [with-type] [update]
  swm [options] app search [with-type] [index]
  swm [options] app most-used [<count>]
  swm [options] app config show-default
  swm [options] app config list
  swm [options] app config (show|edit) <config_name>
  swm [options] app config copy <source_name> <target_name>
  swm [options] ime list
  swm [options] ime (switch|activate|deactivate) <query>
  swm [options] ime search
  swm [options] ime switch-to-previous
  swm [options] session list [last-used]
  swm [options] session search [index]
  swm [options] session restore [session_name]
  swm [options] session delete <query>
  swm [options] session edit <query>
  swm [options] session save <session_name>
  swm [options] session copy <source> <target>
  swm [options] device list [last-used]
  swm [options] device search [index]
  swm [options] device select <query>
  swm [options] device name <device_id> <device_alias>
  swm [options] baseconfig show [diagnostic]
  swm [options] baseconfig show-default
  swm [options] baseconfig edit
  swm --version
  swm --help

Options:
  -h --help     Show this screen.
  --version     Show version.
  -c --config=<config_file>
                Use a config file.
  -v --verbose  Enable verbose logging.
  -d --device=<device_selected>
                Device name or ID for executing the command.
  --debug       Debug mode, capturing all exceptions.

Environment variables:
  SWM_CACHE_DIR
                SWM managed cache directory on PC, which stores the main config file
  SWM_CLI_SUGGESION_LIMIT
                Maximum possible command suggestions when failed to parse user input
  ADB           Path to ADB binary (overrides SWM managed ADB)
  SCRCPY        Path to SCRCPY binary (overrides SWM managed SCRCPY)
  FZF           Path to FZF binary (overrides SWM managed FZF)

Related projects

scrcpy-wrapper

pyscrcpy

MYScrcpy

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

swm_android-0.3.3.1.1.1.1.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swm_android-0.3.3.1.1.1.1-py2.py3-none-any.whl (34.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file swm_android-0.3.3.1.1.1.1.tar.gz.

File metadata

  • Download URL: swm_android-0.3.3.1.1.1.1.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for swm_android-0.3.3.1.1.1.1.tar.gz
Algorithm Hash digest
SHA256 d58bc52433389704d26c70c1df4c5912220de0db67a7a8c6336ba6673f25fa9c
MD5 62a7bffffda9b29c2cd719f8217c771a
BLAKE2b-256 940e31f5b925babc7b7b79ca22ed7c0894360a68abd7e9f68e1eaf22db7adf0d

See more details on using hashes here.

File details

Details for the file swm_android-0.3.3.1.1.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for swm_android-0.3.3.1.1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3453572ddcceb981bb378ba5253b8e920dd48ef722561d120313927cd2f96f5f
MD5 89f27ab0ea4d26ecf0bdb2804f13b8ae
BLAKE2b-256 9fc717f063dd3a45cc24bf9f0992d16ac21bd0ffcc4d31979665e2a7e7ceacbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page