Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A awesome-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 317
    • Merge requests 317
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Vinta Chen
  • awesome-python
  • Merge requests
  • !938
An error occurred while fetching the assigned milestone of the selected merge_request.

added "keyboard" and "mouse" by @boppreh to "Hardware"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/enteleform-forks/master into master 7 years ago
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: Enteleform

What is this Python project?

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:

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 :thumbsup: to it, and usually, the maintainer will merge it when votes reach 20.

Compare
  • master (base)

and
  • latest version
    6516baaa
    1 commit, 2 years ago

1 file
+ 2
- 0

    Preferences

    File browser
    Compare changes
README.md
+ 2
- 0
  • View file @ 6516baaa

  • Edit in single-file editor

  • Open in Web IDE


@@ -661,6 +661,8 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
*Libraries for programming with hardware.*
* [ino](http://inotool.org/) - Command line toolkit for working with [Arduino](https://www.arduino.cc/).
* [keyboard](https://github.com/boppreh/keyboard) - Hook and simulate global keyboard events on Windows and Linux.
* [mouse](https://github.com/boppreh/mouse) - Hook and simulate global mouse events on Windows and Linux.
* [Pingo](http://www.pingo.io/) - Pingo provides a uniform API to program devices like the Raspberry Pi, pcDuino, Intel Galileo, etc.
* [Pyro](http://pyrorobotics.com/) - Python Robotics.
* [PyUserInput](https://github.com/SavinaRoja/PyUserInput) - A module for cross-platform control of the mouse and keyboard.
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference:
Source branch: github/fork/enteleform-forks/master

Menu

Explore Projects Groups Snippets