Mouse infinity movement after timeout.
Project description
infinity-mouse
Python script that moves the mouse in an ∞ pattern after a set inactivity timeout.
Requirements
- Python 3.9+
- macOS, Windows, or Linux (X11)
- Packages: see
requirements.txt - Linux note: on X11 the script uses
python-xlib+ XTEST for low-level mouse events; if this backend is unavailable it exits with a warning
Installation
Using Pip
mkdir infinity-mouse
cd infinity-mouse && python3 -m venv .venv/ && source .venv/bin/activate
pip install infinity-mouse
# Run the script
infinity-mouse # You may need to allow system access permissions for your terminal app
# Press CTRL+C to exit the script
Using Source
git clone https://github.com/mqxym/infinity-mouse
cd infinity-mouse && python3 -m venv .venv/ && source .venv/bin/activate && pip install -r requirements.txt
# Run the script
python run.py # You may need to allow system access permissions for your terminal app
# Press CTRL+C to exit the script
Options
- Adjust the
INACTIVITY_TIMEOUT_MINandINACTIVITY_TIMEOUT_MAXvalues in the script or use CLI parameters:
# Run the script with min-max timeout in seconds
infinity-mouse 80-120
# Test the script
infinity-mouse --test
# View options
infinity-mouse -h
Project Goals
- Learn automation like mouse movements and processing of inputs and HMIs
- Learn pattern creation with sinus functions for the infinity movement pattern
- Build and test CI/CD workflows
- Cross-platform Python development
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 infinity_mouse-0.2.5rc1.tar.gz.
File metadata
- Download URL: infinity_mouse-0.2.5rc1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57afff97a726e84b37c02ad3ebe5ded0d1ece04ca83eb67e3e826d7da97133b0
|
|
| MD5 |
daf8bfabf0303cfaa8ec31515fa496d8
|
|
| BLAKE2b-256 |
05543d83cba9dd9c03c2c3ca876e588502428f9493239b8b762d24f96a6777d3
|
Provenance
The following attestation bundles were made for infinity_mouse-0.2.5rc1.tar.gz:
Publisher:
python-publish.yml on mqxym/infinity-mouse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infinity_mouse-0.2.5rc1.tar.gz -
Subject digest:
57afff97a726e84b37c02ad3ebe5ded0d1ece04ca83eb67e3e826d7da97133b0 - Sigstore transparency entry: 1553052194
- Sigstore integration time:
-
Permalink:
mqxym/infinity-mouse@c0ab2efa34ab3523fbf6f49a2606a4b3ee8becc0 -
Branch / Tag:
refs/tags/0.2.5rc1 - Owner: https://github.com/mqxym
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c0ab2efa34ab3523fbf6f49a2606a4b3ee8becc0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file infinity_mouse-0.2.5rc1-py3-none-any.whl.
File metadata
- Download URL: infinity_mouse-0.2.5rc1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1cad8a594ed85391f0b496bd249c7c8475f3cf8cd7f28f8290d14bcf2a1dbd8
|
|
| MD5 |
d5644c7585ca793a40872fead73f74dd
|
|
| BLAKE2b-256 |
1901213100897e28bbe036759488d876c2e6ea7dc363479c129c93e917358e0b
|
Provenance
The following attestation bundles were made for infinity_mouse-0.2.5rc1-py3-none-any.whl:
Publisher:
python-publish.yml on mqxym/infinity-mouse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infinity_mouse-0.2.5rc1-py3-none-any.whl -
Subject digest:
d1cad8a594ed85391f0b496bd249c7c8475f3cf8cd7f28f8290d14bcf2a1dbd8 - Sigstore transparency entry: 1553052201
- Sigstore integration time:
-
Permalink:
mqxym/infinity-mouse@c0ab2efa34ab3523fbf6f49a2606a4b3ee8becc0 -
Branch / Tag:
refs/tags/0.2.5rc1 - Owner: https://github.com/mqxym
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c0ab2efa34ab3523fbf6f49a2606a4b3ee8becc0 -
Trigger Event:
release
-
Statement type: