{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"Hook global keyboard events, register hotkeys, and simulate key presses across Windows, Linux, and macOS from Python.","skillfed_tags":["input-automation","system-integration"],"use_cases":["Build system-wide hotkey handlers that trigger functions regardless of active window","Automate repetitive typing tasks by simulating key sequences and text input","Record keyboard activity for playback at different speeds or for testing","Create keyboard shortcuts for accessibility or custom application workflows","Implement text abbreviation expansion (e.g., replace '@@' with an email address)"],"what_it_does":"keyboard is a Python library that gives you low-level control over keyboard input and output on Windows, Linux, and macOS. It lets you hook global keyboard events (capturing key presses regardless of which window has focus), register complex hotkey combinations, simulate key presses, and record/replay keyboard sequences. The library runs event capture in a separate thread so it doesn't block your main program.\n\nThe package is pure Python with no C compilation required, making it trivial to install and deploy. It depends on pyobjc for macOS support. Known limitations include that key suppression only works on Windows, Linux requires root access to read raw device files, and some applications can swallow key events before keyboard sees them.","worth_installing":"Yes, if you need global keyboard control on Windows or Linux. The package is actively maintained, has no known vulnerabilities, and low install friction. On macOS, experimental support means you should test thoroughly before relying on it. Note that Linux requires root/sudo and Windows has the most complete feature set; key suppression is Windows-only."},"id":"keyboard","links":{"html":"https://skillfed.io/packages/keyboard","md":"https://skillfed.io/packages/keyboard.md","pypi":"https://pypi.org/project/keyboard/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2020-03-23","license_spdx":null,"license_treatment":"permissive","name":"keyboard","python_support":"unspecified","summary":"Hook and simulate keyboard events on Windows and Linux"},"popularity":{"monthly_downloads":947380,"position":4664,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.13.5"}
