{
 "kind": "tool",
 "slug": "keyboard",
 "path": "tools/keyboard/",
 "name": "keyboard",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Desktop and mobile apps",
   "tools/desktop-mobile/"
  ]
 ],
 "lead": "Hook and simulate keyboard events on Windows and Linux systems.",
 "chips": [
  {
   "label": "Desktop and mobile apps",
   "path": "tools/desktop-mobile/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install keyboard"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/boppreh/keyboard"
  },
  {
   "label": "Website",
   "href": "https://github.com/boppreh/keyboard"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/boppreh/keyboard"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Jul 10, 2026",
   "note": "Latest GitHub release Mar 23, 2020. ",
   "src": "https://github.com/boppreh/keyboard"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#79 of 105 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What keyboard does",
   "parts": [
    {
     "t": "prose",
     "text": "Hook and simulate keyboard events on Windows and Linux systems."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "keyboard popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "38",
       "of": "/ 100",
       "l": "Gid Score, #3314 overall"
      },
      {
       "n": "120K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "3,969",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How keyboard is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "keyboard is a dependency in 3 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 28 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is pynput (10 projects).",
      "Projects that use it most often also use Pillow (64.3%), Requests (64.3%), OpenAI Python Library (53.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 64.3% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 64.3% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "psutil",
       "path": "tools/psutil/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "PyAudio",
       "path": "tools/pyaudio/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about keyboard",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Desktop and mobile apps",
       "path": "tools/desktop-mobile/",
       "items": [
        {
         "text": "React Native",
         "path": "tools/react-native/"
        },
        {
         "text": "Expo",
         "path": "tools/expo/"
        },
        {
         "text": "react-native-safe-area-context",
         "path": "tools/react-native-safe-area-context/"
        },
        {
         "text": "react-native-screens",
         "path": "tools/react-native-screens/"
        },
        {
         "text": "React Native Gesture Handler",
         "path": "tools/react-native-gesture-handler/"
        },
        {
         "text": "React Navigation",
         "path": "tools/react-navigation-native/"
        },
        {
         "text": "React Native Async Storage",
         "path": "tools/react-native-async-storage-async-storage/"
        },
        {
         "text": "react-native-svg",
         "path": "tools/react-native-svg/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "keyboard",
       "me": true,
       "facts": [
        "MIT",
        "Gid 38",
        "120K/wk"
       ]
      },
      {
       "name": "pynput",
       "why": "Monitor and control keyboard and mouse input devices programmatically.",
       "path": "tools/pynput/",
       "facts": [
        "LGPL-3.0",
        "Gid 46",
        "525K/wk"
       ]
      }
     ],
     "more": "Compare keyboard with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install keyboard"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for keyboard yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi keyboard"
  ],
  [
   "Category",
   "Desktop and mobile apps"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "38.5"
  ],
  [
   "Rank in category",
   "#79 of 105"
  ],
  [
   "GitHub",
   "boppreh/keyboard"
  ],
  [
   "Last change",
   "Jul 10, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/boppreh.png"
}