Skip to main content

droidline

Droidline: Android automation, one line at a time.

Python SDK for Droidline, Android automation from code. Test your apps on real phones, script the tasks you repeat and run many phones at once, without ADB, a USB cable or root.

The SDK talks to the Droidline server on your PC (droidline serve, port 8780). The server and the phone do the waiting, retries and fallbacks; this package sends commands and turns errors into exceptions. Python 3.9+, no dependencies.

Install

pip install droidline

Example

from droidline import connect

d = connect()
d.launch("com.kakao.talk")
d.dump("screen.json")
d.touchById("com.kakao.talk:id/login")
d.input("id", "com.kakao.talk:id/email", "knife")
d.sendkey("enter")
if d.exists("text", "광고 닫기"):
    d.touch("text", "광고 닫기")
d.intent("android.settings.WIFI_SETTINGS")    # open a Settings page by its intent action
d.wait_idle()

connect() uses the only online phone. With several, pass an ID or name: connect("shelf-01"), or use Droidline().device("shelf-01") for each. DROIDLINE_HOST, DROIDLINE_PORT, DROIDLINE_TOKEN and DROIDLINE_DEVICE set the defaults.

A failed command raises a subclass of DroidlineError, such as NotFoundError, with code, retryable and the server's extra fields in data.

Docs: https://droidline.dev/docs

Metadata

Release files for droidline 0.1.11

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

Source distribution (sdist)

Source distribution for droidline 0.1.11
File Size Uploaded
droidline-0.1.11.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for droidline 0.1.11
File Interpreter ABI Platform
droidline-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 54.7 kB

Release files / droidline-0.1.11.tar.gz

Download URL droidline-0.1.11.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c70835c29c6dc6daac1887f063190f71f74babe32550cfc81ed2ae2213a3d7a4
BLAKE2b-256 checksum
How to use checksums
327077f290f94e843f43061fb3cca6aa6f61f7045333d032eef5b6c2e21605f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / droidline-0.1.11-py3-none-any.whl

Download URL droidline-0.1.11-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b33cb2b4ad608056e9d931390810e557c572d28a29f67d6e05a766eec1ae4f7
BLAKE2b-256 checksum
How to use checksums
ee44485b6043f3d251e733b87c68b2afac1516308188965a34b98d86d097b10b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

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