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.12

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.12
File Size Uploaded Provenance Actions
droidline-0.1.12.tar.gz 29.5 kB With provenance Details for droidline-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 56.4 kB

Release files / droidline-0.1.12.tar.gz

Download URL droidline-0.1.12.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
770b24213460a7584556a69b5a35733f120f5952eff07986df803e3c387d8d1f
BLAKE2b-256 checksum
How to use checksums
dc1b71b53567c67b69e911ee58c88358db1c36764b956959d67385567747b310
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

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

Download URL droidline-0.1.12-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e11c2624c2c545fcc79c5c59066ee18509cb929d00a53f7ed34a0246da7a9f1
BLAKE2b-256 checksum
How to use checksums
f2d5ddb362a38aa2272b8cf7e366cf772bd59267e1e621fd706f493eb11b697a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Security for droidline 0.1.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for droidline-0.1.12.tar.gz

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 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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