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.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

clickpy-0.11.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clickpy-0.11.2.tar.gz
Algorithm Hash digest
SHA256 fb7165b2fda12b6558bfc77db0c319161b9fb2a5a7bd5e4653103c2929484207
MD5 a04cf29bfb73ed71bab9bcedf6e4deac
BLAKE2b-256 901210a674433eceb082e034a314d4f1996d0e59920e9412e2ebc3dcab0f8084

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clickpy-0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 587811046fdd76606383dd4dc2c1b93f43dcb810159840bf69357a7080a6d506
MD5 7cffd65a7ee4196979eddc62485e955f
BLAKE2b-256 3c64e875d9fd23d64a2a7386f7c8cbc9a4ac1930f7988bbf89f093655750d7d9

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