droidline
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.
Metadata
Release files for droidline 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| droidline-0.1.13.tar.gz | 31.0 kB | With provenance | Details for droidline-0.1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| droidline-0.1.13-py3-none-any.whl | Python 3 | none | any | Details for droidline-0.1.13-py3-none-any.whl |
Total release size: 59.4 kB
Release files / droidline-0.1.13.tar.gz
| Download URL | droidline-0.1.13.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72116fb2219ace6e46b44938a07727778d91f50cc5191b66c45e5cab350dfb97
|
|
BLAKE2b-256 checksum How to use checksums |
a6b3d34cce5f3350da3cfa11b46d2e14f81f0879ed24920a12d2689e2f4a0432
|
| 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 Nov 3, 2026.
Transparency logRelease files / droidline-0.1.13-py3-none-any.whl
| Download URL | droidline-0.1.13-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e5fbb24838edfcefc2402851f845bde39d9f0e937fdabc9ab7448f927daf1d2
|
|
BLAKE2b-256 checksum How to use checksums |
ee70b53adec283cd40f1f33c75e2bb5737e43fc96ed7dcc0863adf2f2a963b37
|
| 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 Nov 3, 2026.
Transparency logSecurity for droidline 0.1.13
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.
Attestation for droidline-0.1.13.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 Nov 3, 2026.
Transparency logA 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.