Skip to main content

DC U2 Driver

Credit: Original development by Dai Chao Online

DC U2 Driver is a lightweight Python package for automating Android devices using uiautomator2.
It’s designed for developers who want fast device interactions, robust element handling, and simple APIs without extra complexity.

Features

  • Connect to Android devices via device ID
  • Interact with UI elements using multiple locator types
  • Handle clicks, long clicks, and text input
  • Retrieve element attributes safely
  • Filter English text and skip unwanted UI elements
  • Retry clicks and wait for elements with customizable timing
  • Supports Python 3.10+

Installation

Install using pip:

pip install dc-u2-driver

Example

from dc_u2_driver import ElementDriver

driver = ElementDriver("device_id_here")
# use driver.work_on_element(...) etc.

Metadata

Release files for dc-u2-driver 0.0.5

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

Source distribution (sdist)

Source distribution for dc-u2-driver 0.0.5
File Size Uploaded Provenance Actions
dc_u2_driver-0.0.5.tar.gz 4.2 kB Without provenance Details for dc_u2_driver-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dc-u2-driver 0.0.5
File Interpreter ABI Platform Actions
dc_u2_driver-0.0.5-py3-none-any.whl Python 3 none any Details for dc_u2_driver-0.0.5-py3-none-any.whl

Total release size: 8.5 kB

Release files / dc_u2_driver-0.0.5.tar.gz

Download URL dc_u2_driver-0.0.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7045ad7514e4aa146a93d7c9fc4e1803d133f0101b4c21eb83ecf9a0af9a1dea
BLAKE2b-256 checksum
How to use checksums
6ddf7a0f73db7beb5935deb65ebf1ab55d21419fef83984c89913d017797f2ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / dc_u2_driver-0.0.5-py3-none-any.whl

Download URL dc_u2_driver-0.0.5-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41362164a4a421a567c49d1ac6875ff6a677335ce758ad5d5cc213c98cb7db13
BLAKE2b-256 checksum
How to use checksums
661890896fcb854a9be1af44d6bbf8cca2489276348b361d5a7c8987e3791a04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Security for dc-u2-driver 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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