{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"},{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/2"}],"enrichment":{"capability":"Pynput lets you programmatically control and monitor mouse and keyboard input across Windows, macOS, and Linux from Python code.","skillfed_tags":["input-automation","cross-platform","gui-testing"],"use_cases":["Automate repetitive UI tasks: script mouse clicks and keyboard input to control applications without modifying them.","Test GUI applications: inject mouse and keyboard events to verify that user interfaces respond correctly to input.","Build accessibility tools: monitor keyboard and mouse activity to create overlays, remapping utilities, or input assistants.","Create interactive scripts: listen for keyboard shortcuts or mouse gestures to trigger custom actions in a background process.","Develop game automation or bot tools: control game input and respond to on-screen events programmatically."],"what_it_does":"Pynput is a cross-platform library for controlling and monitoring mouse and keyboard input devices from Python. It provides a Controller class to programmatically move the mouse, click buttons, type text, and press keys, as well as Listener classes to detect and react to mouse and keyboard events in real time. The library abstracts away platform differences\u2014using native APIs on Windows, macOS, and Linux\u2014so you write once and run on all three.\n\nTypical use cases include automation scripts, testing frameworks that need to simulate user input, accessibility tools, and interactive applications that respond to keyboard or mouse events. The listener runs in a background thread and invokes callbacks for each event, while the controller lets you inject input as if a user had performed it. The library is mature (first released in 2015, marked Production/Stable) and actively maintained, with no known security vulnerabilities.","worth_installing":"Yes, if you need cross-platform input control and monitoring. Pynput is stable, actively maintained, has no known vulnerabilities, and handles platform differences transparently. The LGPLv3 license is permissive for most use cases (including proprietary software) as long as you disclose the library and its modifications. Main caveat: Linux installations may require system development headers; plan for that in CI/CD or deployment."},"id":"pynput","links":{"html":"https://skillfed.io/packages/pynput","md":"https://skillfed.io/packages/pynput.md","pypi":"https://pypi.org/project/pynput/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-12","license_spdx":null,"license_treatment":"copyleft","name":"pynput","python_support":"unspecified","summary":"Monitor and control user input devices"},"popularity":{"monthly_downloads":2285530,"position":3163,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.8.2"}
