moses-palmer/pynput
Sends virtual input commands observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 82
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3975
- days_rel: n/a
- days_push: 113
- n_releases_24m: 0
Adoption not part of the score
2166 stars · 287 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pynput is a Python library for controlling and monitoring input devices such as the mouse and keyboard. It provides a cross-platform API to send virtual input events and listen to user input.
Use cases
- automate mouse clicks and keyboard typing in python
- listen to global keyboard shortcuts in a python script
- simulate user input for gui testing
- build a macro or hotkey tool
- monitor mouse movement across platforms
When to choose
- you need cross-platform mouse/keyboard control from python
- you want to both send and listen to input events
- you need a pure-python library without heavy dependencies
When to avoid
- you need image-based gui automation like screen matching (use pyautogui)
- you are building browser-based automation (use selenium or playwright)
- you need low-level driver-level input injection
Facets
library · maturity stable
workflow-automation developer-tools developer-tools cross-platform python cross-platform windows input-devices mouse-control keyboard-control input-monitoring gui-automation automation linux macos
2 sources
- readme: https://github.com/moses-palmer/pynput · fetched 2026-08-28 · 1e3a6da8e4c4
- registry_pypi: https://pypi.org/pypi/pynput/json · fetched 2026-08-29 · b8c0ed0e8cd3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moses-palmer/pynput | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="moses-palmer/pynput")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem