⌨️🖱️ Pymousekey
A python package for handling keyboard and mouse inputs
📖 Description
Pymousekey offers a range of functions to interact with the operating system by sending various mouse and keyboard inputs, making it useful for automation, testing, and scripting repetitive tasks.
🧩 Requirements
- Python 3.8+ (may work on earlier Python 3 versions)
- Windows operating system
⚙️ Installation
pip install pymousekey
🚀 Example Usage
import pymousekey
# Left click at a position
pymousekey.click(255, 720, button='left')
# Right click at a position
pymousekey.click(255, 720, button='right')
# Left click at multiple locations without delay
pymousekey.click(0, 500, _pause=False)
pymousekey.click(800, 200, _pause=False)
pymousekey.click(300, 900, _pause=False)
# Add a global hotkey
pymousekey.add_hotkey("numpad 5")
# Press a key
pymousekey.press("a")
# Scroll up 1 notch
pymousekey.scroll(-1)
# Scroll down 1 notch
pymousekey.scroll(1)
Metadata
Release files for PyMouseKey 1.3.3
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 |
|---|---|---|---|---|
| pymousekey-1.3.3.tar.gz | 9.6 kB | Without provenance | Details for pymousekey-1.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymousekey-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for pymousekey-1.3.3-py3-none-any.whl |
Total release size: 19.2 kB
Release files / pymousekey-1.3.3.tar.gz
| Download URL | pymousekey-1.3.3.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0b19b33dd1419749d6bf8ca6f1d0d70dd469adbc8c235bc8d4980426abeb3bd
|
|
BLAKE2b-256 checksum How to use checksums |
edcb90d968e5f7b7931382d813640d73608a7dd18ff401782902e32787a886f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / pymousekey-1.3.3-py3-none-any.whl
| Download URL | pymousekey-1.3.3-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7271e3545559a533785351a32c18d4e67fe9c02ae38b65e6bce621e99aeb2b97
|
|
BLAKE2b-256 checksum How to use checksums |
23ea3211cdd36354211f6736a0df8e0f9d846c55e1a54350cccc9f0551198840
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for PyMouseKey 1.3.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.