Take full control of your mouse with this small Python library. Hook global events, simulate mouse movement & clicks, and much more.
What's the difference between this Python project and similar ones?
This set of libraries offers much more functionality than those currently listed on awesome-python. They allow for complete management of all global key & mouse events.
Some features:
global hooks
- push all Key/Mouse events to provided callbacks
- keyboard[KeyboardEvent], mouse[ButtonEvent, MoveEvent, WheelEvent]
global hotkey registration
- push only defined Key events to provided callbacks
- left & right modifier keys are recognized separately
macro recording & playback
- capture keystrokes in realtime, play them back @ custom speed
wait event
- blocks thread until defined Key/Mouse events are received
While not fully cross-platform (OSX is currently listed as experimental), these are the best choices I've come across for anyone looking for full access to keyboard & mouse functionality on the Windows & Linux platforms.
Both libraries are also very well documented.
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/938
**Author:** [@Enteleform](https://github.com/Enteleform)
**Created:** 9/20/2017
**Status:** ✅ Merged
**Merged:** 9/20/2017
**Merged by:** [@vinta](https://github.com/vinta)
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (1)
- [`6516baa`](https://github.com/vinta/awesome-python/commit/6516baaa5526416fda148c59c793adcb49791d51) added "mouse" and "keyboard" by @boppreh to "Hardware"
### 📊 Changes
**1 file changed** (+2 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+2 -0)
</details>
### 📄 Description
## What is this Python project?
### [github.com/boppreh/keyboard](https://github.com/boppreh/keyboard):
> Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses, and much more.
### [github.com/boppreh/mouse](https://github.com/boppreh/mouse):
> Take full control of your mouse with this small Python library. Hook global events, simulate mouse movement & clicks, and much more.
## What's the difference between this Python project and similar ones?
This set of libraries offers much more functionality than those currently listed on awesome-python. They allow for complete management of all global key & mouse events.
Some features:
- **global hooks**
\- push all Key/Mouse events to provided callbacks
\- keyboard[KeyboardEvent], mouse[ButtonEvent, MoveEvent, WheelEvent]
- **global hotkey registration**
\- push only defined Key events to provided callbacks
\- left & right modifier keys are recognized separately
- **input simulation**
\- key chords, keypress sequences, mouse click/drag/scroll
\- allows custom delay
- **macro recording & playback**
\- capture keystrokes in realtime, play them back @ custom speed
- **`wait` event**
\- blocks thread until defined Key/Mouse events are received
While not fully cross-platform (_OSX is currently listed as experimental_), these are the best choices I've come across for anyone looking for full access to keyboard & mouse functionality on the Windows & Linux platforms.
Both libraries are also very well documented.
-----
Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/938
Author: @Enteleform
Created: 9/20/2017
Status: ✅ Merged
Merged: 9/20/2017
Merged by: @vinta
Base:
master← Head:master📝 Commits (1)
6516baaadded "mouse" and "keyboard" by @boppreh to "Hardware"📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
README.md(+2 -0)📄 Description
What is this Python project?
github.com/boppreh/keyboard:
github.com/boppreh/mouse:
What's the difference between this Python project and similar ones?
This set of libraries offers much more functionality than those currently listed on awesome-python. They allow for complete management of all global key & mouse events.
Some features:
global hooks
- push all Key/Mouse events to provided callbacks
- keyboard[KeyboardEvent], mouse[ButtonEvent, MoveEvent, WheelEvent]
global hotkey registration
- push only defined Key events to provided callbacks
- left & right modifier keys are recognized separately
input simulation
- key chords, keypress sequences, mouse click/drag/scroll
- allows custom delay
macro recording & playback
- capture keystrokes in realtime, play them back @ custom speed
waitevent- blocks thread until defined Key/Mouse events are received
While not fully cross-platform (OSX is currently listed as experimental), these are the best choices I've come across for anyone looking for full access to keyboard & mouse functionality on the Windows & Linux platforms.
Both libraries are also very well documented.
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.