Human-like mouse and keyboard automation for zendriver
Project description
A Python library for human-like mouse and keyboard automation, designed to work with zendriver.
Features
- Human-like Mouse Movement: Uses WindMouse algorithms, and physiological jitter to simulate realistic cursor movement.
- Human-like Typing: Simulates typing speeds, typos, corrections, and thinking pauses.
- Visual Debugging: Generate heatmaps or trajectory JPEGs of mouse movements.
Architecture
The mouse module's architecture and flow are documented in the docs/mouse directory:
- Module Diagram: Overview of files, their responsibilities, and dependencies.
- Sequence Diagram: Step-by-step data flow of
move_to_element. - State Diagram: Lifecycle of a mouse command execution.
Installation
pip install humandriver
Usage
from humandriver import move_to_element, type_in_element
# Example usage with zendriver page object
await move_to_element(page, selector, click=True)
await type_in_element(page, "Hello World")
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
humandriver-1.0.6.tar.gz
(25.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file humandriver-1.0.6.tar.gz.
File metadata
- Download URL: humandriver-1.0.6.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c02973226103638eb4b329229717ebfb25e572314a1f33364db28320e2fc50dd
|
|
| MD5 |
d18163270584562458f8ce5a0c359420
|
|
| BLAKE2b-256 |
cc294c26f2bcbc3842e1b41963e632953c9b4d1bf04cd207a8f1bc64c2ab74da
|
File details
Details for the file humandriver-1.0.6-py3-none-any.whl.
File metadata
- Download URL: humandriver-1.0.6-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b8b51f7c145425df3301665619e39b85d92e974d59173bd9f56f011e65646b
|
|
| MD5 |
f02fd2197811161ebc577492601e20e9
|
|
| BLAKE2b-256 |
5d28e318d9078f1d4757418cb7782642a0078a6ae747aa490c82de828225ff4e
|