clickpy
A library able to control mouse (mainly for auto-clicking)
Installation
From PyPI
pip3 install clickpy
From GitHub
pip3 install git+https://github.com/donno2048/clickpy
Usage
Here's the method listing for the package.
get_cursor_pos: Can be used to determine the position to feedclick_atorclicks_at.
Example usage:
from clickpy import get_cursor_pos
get_cursor_pos()
click_here: The method will create a click at the current location
Example usage:
from clickpy import click_here
click_here()
click_at: The method will create a click at the specified (x,y) coordinates
Example usage:
from clickpy import click_at
click_at((0,0))
clicks_here: The method will create a certain amount of click at the current location The method has a number of optional keyword arguments:ms_delay- the delay in milliseconds between the clicks [default: at fast as the OS allows]total_clicks- the total clicks to be sent [default: infinitely many]key_stop- a virtual key code that when entered in the keyboard the clicks will stop at once - e.g.ord('a'.upper())to stop onakey press [default: stop only aftertotal_clicksclicks]key_start- similar tokey_stopbut for starting the clicks [default: start immediately]stop_modifier- the modifier (e.g.ALT,CONTROL,SHIFTandWIN) forkey_stopstart_modifier- the modifier forkey_start
Example usage:
from clickpy import clicks_here, SHIFT, ALT
# will start clicking at the cursor's position one million times with 10ms delay in between when 0 is pressed and stop upon SHIFT+ALT+0
clicks_here(ms_delay=10, total_clicks=1_000_000, key_stop=ord('0'), key_start=ord('0'), stop_modifier=SHIFT|ALT)
clicks_at: The method will create a certain amount of clicks at the specified location The method expects the same (optional) keyword arguments asclicks_herebut also a (x,y) coordinates tuple which can be provided as a positional argument or as thepositionkeyword
Example usage:
from clickpy import clicks_at, get_cursor_pos, SHIFT, ALT
# same as the clicks_here example but at the initial position of the cursor
clicks_at(get_cursor_pos(), ms_delay=10, total_clicks=1_000_000, key_stop=ord('0'), key_start=ord('0'), stop_modifier=SHIFT|ALT)
Metadata
Release files for clickpy 1.0.1
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 |
|---|---|---|---|---|
| clickpy-1.0.1.tar.gz | 4.7 kB | With provenance | Details for clickpy-1.0.1.tar.gz |
Release files / clickpy-1.0.1.tar.gz
| Download URL | clickpy-1.0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3db237b3bc205afc140c8190fa98452bed7bd4c3eb6ca06b54bcef5f60730657
|
|
BLAKE2b-256 checksum How to use checksums |
621fdbda4fa29848751ffb6d9a2d3c92be67d2b6cb6b507abfd17e9ff872feef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.
Transparency logSecurity for clickpy 1.0.1
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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for clickpy-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.
Transparency logA 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.