Skip to content
GitLab
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

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 Sep 20, 2017
  • 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 👍 to it, and usually, the maintainer will merge it when votes reach 20.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/enteleform-forks/master