pikvm-mouse-wiggle
Mouse wiggler for the PiKVM.
What?
This is for where you have a system which you use via PiKVM which enacts a screen-saver, sleep or shutdown which you cannot change for whatever reason. pikvm-mouse-wiggle will connect to your PiKVM's API and simulate a mouse wiggle, just as if you'd uploaded a script via PiKVM's web console.
You can get USB dongles that perform this wiggling for you, but for PiKVM users this option is cheaper.
Installation
Installation is via PyPI:
pip install pikvm-mouse-wiggle
This will give you the main script, pikvm-mouse-wiggle, and the pikvm_mouse_wiggle Python module.
Usage
To start mouse-wiggling, specify the IP address (or hostname) of your PiKVM host, and the username and password you use to log into the web interface:
pikvm-mouse-wiggle -H 192.168.0.10 -u admin -p MyPassw0rd123
The script will now move the mouse by a few pixels every 120 seconds. Note that absolute positioning is currently used, so you may find the mouse movement annoying. To remedy this, increase the delay with --delay <seconds>.
Full usage:
usage: pikvm-mouse-wiggle [-h] -H HOSTNAME [-u USERNAME] [-p PASSWORD] [-d DELAY]
Mouse wiggler for PiKVM
options:
-h, --help show this help message and exit
-H HOSTNAME, --hostname HOSTNAME
Hostname or IP address of the PiKVM device
-u USERNAME, --username USERNAME
Username for PiKVM web interface
-p PASSWORD, --password PASSWORD
Password for PiKVM web interface
-d DELAY, --delay DELAY
Delay between mouse wiggles
You can also wiggle via Python directly if you so choose. Here's an example:
from pikvm_mouse_wiggle import wiggle
wiggle(
"hostname",
"admin",
"MyPassw0rd123",
120,
)
Licence
MIT Licence
Metadata
Release files for pikvm-mouse-wiggle 0.0.2
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 |
|---|---|---|---|---|
| pikvm-mouse-wiggle-0.0.2.tar.gz | 4.0 kB | Without provenance | Details for pikvm-mouse-wiggle-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pikvm_mouse_wiggle-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for pikvm_mouse_wiggle-0.0.2-py3-none-any.whl |
Total release size: 9.6 kB
Release files / pikvm-mouse-wiggle-0.0.2.tar.gz
| Download URL | pikvm-mouse-wiggle-0.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d5e1b3b6bcd038f010f13c4f734df10fb4db1ca3022a175541cd0a072482a65
|
|
BLAKE2b-256 checksum How to use checksums |
c3ad25886ddfafdc0e3a848f15d4c8849824f6a3d1ea323eeb60684cc8249260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.7
|
Release files / pikvm_mouse_wiggle-0.0.2-py3-none-any.whl
| Download URL | pikvm_mouse_wiggle-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f2705f14ee94d4125aad1c2998c5feab9ba4f6f3a2604bf069b4947c9334bac
|
|
BLAKE2b-256 checksum How to use checksums |
0ee0e12ce8a4e67ddd9f717bcd5d4f278e504abdfd06cd8ae3850ab2698a14ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.7
|
Security for pikvm-mouse-wiggle 0.0.2
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.