___ __ __ _ _ _ _ _
|` _ `\\`\ /,/ __ _ _ __ __| |_ __ ___ (_) __| | | |_ ___ _ _ ___| |__
| (_) / \ \/ / / _` | '_ \ / _` | '__/ _ \| |/ _` | | __/ _ \| | | |/ __| '_ \
| ,_ / \ ,/ | (_| | | | | (_| | | | (_) | | (_| | | || (_) | |_| | (__| | | |
|_| /_/ \__,_|_| |_|\__,_|_| \___/|_|\__,_| \__\___/ \__,_|\___|_| |_|
PyAndroidTouch
This project is the python 3 support module based on "BobbleKeyboard/android_touch".
Introduction
Support multi finger click / slide / circle / expand and other actions.
- tap (tap, long press click, continuous click, multi finger click)
- swipe (swipe, multi finger swipe) # currently only linear swipe
- circle (circle, long press circle, multi finger circle, continuous circle, reverse circle)
- expand (expand, multidirectional expand) # is equivalent to supporting shrink
How to use
As shown below.
Installation
- Starting from version 0.0.2, the module will be uploaded to pypi. You can also install it directly using pip.
pip install PyAndroidTouch
Manual Installation
-
Open the release page to find the latest version of the installation file.
-
(Optional) download to this machine through browser, and then use pip to execute the following command to install.
pip install PyAndroidTouch-0.0.2-py3-none-any.whl
- Of course, you can also directly copy the download link of the installation package and use pip for online installation. (execute the following command)
# Note: that the link here is version 0.0.2, please replace it with the latest version.
pip install https://github.com/HsOjo/PyAndroidTouch/releases/download/0.0.2/PyAndroidTouch-0.0.2-py3-none-any.whl
Example code
...
Demo
See the "pyandroidtouch/demo" directory.
Metadata
Release files for PyAndroidTouch 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyAndroidTouch-0.1.0.tar.gz | 2.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyAndroidTouch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 MB
Release files / PyAndroidTouch-0.1.0.tar.gz
| Download URL | PyAndroidTouch-0.1.0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e89780167f1fd7c3f8301f6e210a70256c8dbdc1f5288a308989af01b7e0cf3e
|
|
BLAKE2b-256 checksum How to use checksums |
adad8f1d1a7af56b21a656d3377621b73777f4022cd903f05f294356ff44b880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|
Release files / PyAndroidTouch-0.1.0-py3-none-any.whl
| Download URL | PyAndroidTouch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
113c28d44f66c9026e15b41192daeba47557f4ff16d4ae12d76213eb4660f860
|
|
BLAKE2b-256 checksum How to use checksums |
5d84533f4824c57d93f62e5ce102db8041aebccb7c7a3dab003ac8e2fa24c9c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|