boppreh/keyboard
Hook and simulate global keyboard events on Windows and Linux. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 91
- Release rhythm 8
- Longevity 100
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: 4866
- days_rel: n/a
- days_push: 55
- n_releases_24m: 0
Adoption not part of the score
3963 stars · 450 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A pure Python library for hooking global keyboard events, registering hotkeys, and simulating key presses on Windows and Linux (with experimental macOS support). It has zero dependencies and offers both low-level event capture and high-level APIs like record, play, and text abbreviations.
Use cases
- register global hotkeys in python
- simulate keyboard key presses programmatically
- record and replay keyboard events
- create text expansion abbreviations
- capture keystrokes regardless of window focus
- automate typing tasks with python
When to choose
- you need global keyboard hooks or hotkeys in Python without compiled dependencies
- you want to record and replay keyboard input for automation
- you need international keyboard layout support
When to avoid
- you need actively maintained software with guaranteed support
- you need macOS support beyond experimental quality
- you need mouse input (use the companion mouse library instead)
- you cannot run with elevated privileges on Linux
Facets
library · maturity maintenance
workflow-automation developer-tools developer-tools cross-platform python windows keyboard-hooks hotkeys key-simulation input-automation zero-dependencies automation linux macos
2 sources
- readme: https://github.com/boppreh/keyboard · fetched 2026-08-28 · 8e8aebba947f
- registry_pypi: https://pypi.org/pypi/keyboard/json · fetched 2026-08-29 · 8631ba481328
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| boppreh/keyboard | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="boppreh/keyboard")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem