Skip to main content

Mouse infinity movement after timeout.

Project description

infinity-mouse

infinity mouse

Python script that moves the mouse in an ∞ pattern after a set inactivity timeout.

Requirements

  • MacOS with Python3.9+
  • Packages: see requirements.txt

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_MIN and INACTIVITY_TIMEOUT_MAX values 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

Future Additions

  • Linux and Windows support?

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

infinity_mouse-0.2.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infinity_mouse-0.2.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file infinity_mouse-0.2.4.tar.gz.

File metadata

  • Download URL: infinity_mouse-0.2.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for infinity_mouse-0.2.4.tar.gz
Algorithm Hash digest
SHA256 96a8ba125a663d7f78541fbc054583c9958c1dba8185a423766f265e5bf5f653
MD5 127302891c6fcd821faf8eec2adf2215
BLAKE2b-256 f921e37877b1795d7863bbd8dcdb06ba111805d15ef992454c41bbda6b7ba389

See more details on using hashes here.

Provenance

The following attestation bundles were made for infinity_mouse-0.2.4.tar.gz:

Publisher: python-publish.yml on mqxym/infinity-mouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file infinity_mouse-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: infinity_mouse-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for infinity_mouse-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1e497c451236f4cb7c4185942911f87d3828054ff439851db87d8e62c743ad8a
MD5 68bba87a44fd22fa894b58e9dae7e335
BLAKE2b-256 58f129d2885d6b0b0b2246cc3d17f08905f3aa0e7903c060ad3928dadc30c11b

See more details on using hashes here.

Provenance

The following attestation bundles were made for infinity_mouse-0.2.4-py3-none-any.whl:

Publisher: python-publish.yml on mqxym/infinity-mouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page