Skip to main content

Automated mouse clicking script

Project description

clickpy

Automated mouse clicker script using PyAutoGUI and Typer.

This app will randomly click your mouse between 1 second and 3 minutes, to prevent your screen and apps from sleeping or displaying an away status.

The rational behind the random interval is: if the mouse contiually clicked every second or millisecond, it could easily be detected as an automated process.

The random interval provides a sembalance of feasability, although the interval could be reduced and extended as needed, or move the cursor after a couple consecutive clicks. (Possibe future feature?)

PyAutoGUI provides a simple interface to the mouse, and Typer provides simple cli parsing. You can find out more about these libraries with the links provided above.

Installation

This package supports Python 3.6 through 3.9. It does not support any version of Python 2, nor any version of 3 lower than 3.6. Please upgrade our Python version, if possible.

I highly recommend using pipx for installing standalone packages, as it adds a layer of isolation to your installation. But pip will also work.

pipx install clickpy
# -- or --
pip install clickpy

If you're using macOS or Linux, you may have to install additional dependencies for PyAutoGUI to work properly. Please review their docs for additional information.

Windows users don't have to install any additional software.

To uninstall, type in your terminal:

pipx uninstall clickpy
# -- or --
pip uninstall clickpy

Running

Once this package is installed, and any additional dependencies too, run the app like so:

clickpy

To stop it, press ctrl+c.

There are 3 flags you can use; -d will display debug information, -f will speed the app up to 1 click every second, and --help will display the help menu.

For Developers

Please read contributing.md for more information about this repo, how it's maintained and developed. And feel free to make PRs.

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

clickpy-0.11.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

clickpy-0.11.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file clickpy-0.11.0.tar.gz.

File metadata

  • Download URL: clickpy-0.11.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0

File hashes

Hashes for clickpy-0.11.0.tar.gz
Algorithm Hash digest
SHA256 c68f5f0ae71ba4c44e2d5d6876d584f433ce9f559432f48080e2fe6221c5a116
MD5 9931528aa4f8da3e57820ce1f564b7c0
BLAKE2b-256 26cd98c3607d13c678fc42babbdcd8470ae37f161731cc350faa93e637c0454f

See more details on using hashes here.

File details

Details for the file clickpy-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: clickpy-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0

File hashes

Hashes for clickpy-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4882abecd08c11c91b2de35138d513278edcd66fce4b8d4d6a5aab63c2775c89
MD5 0a9d83b5cc98caa4e31d0489b5c38cae
BLAKE2b-256 be9c1488ebbe862b943e86fbaefaae745077366769498ef30e4ab2a08b2820a4

See more details on using hashes here.

Supported by

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