--- id: pynput-robocorp-fork version: "5.0.0" license: LGPLv3 license_treatment: copyleft maintenance: abandoned --- # pynput-robocorp-fork — Monitor and control user input devices License: copyleft · Maintenance: abandoned · Downloads: 339.9K/mo ## What it is and what it does pynput-robocorp-fork is a Robocorp-maintained fork of the pynput library that lets you control and monitor input devices—mouse and keyboard—from Python. It provides a Controller class to move the cursor, click buttons, scroll, and type text, plus a Listener class to capture mouse and keyboard events in real time. The library runs listeners in background threads and supports both blocking and non-blocking event collection. The package depends on platform-specific backends: pyobjc frameworks on macOS, python-xlib on Linux, and native Windows APIs on Windows. It is classified as Production/Stable but has been abandoned since late 2022, with no recent commits or maintenance. The LGPLv3 license is copyleft, meaning any derivative work must remain under the same license. Use it for: - Automate repetitive UI tasks by controlling the mouse and keyboard programmatically across different operating systems. - Build test automation frameworks that simulate user input for GUI testing without relying on platform-specific tools. - Create accessibility tools or assistants that monitor and respond to user input events in real time. - Develop robotic process automation (RPA) scripts that interact with legacy applications or web interfaces. - Monitor user activity for logging, analytics, or security purposes by listening to keyboard and mouse events. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Controls and monitors mouse and keyboard input devices across Windows, macOS, and Linux, allowing you to programmatically move the cursor, click, type, and listen for keyboard and mouse events. Yes, but with caution. The package is stable and has low install friction, but it is abandoned (last commit 2022-12-29) and depends on platform-specific libraries that may not be maintained. Use it if you need cross-platform input control and can accept the maintenance risk; otherwise, check whether the original pynput package or a more actively maintained alternative better suits your needs. The LGPLv3 license requires compliance review if used in proprietary code. ## Install pip install pynput-robocorp-fork uv add pynput-robocorp-fork poetry add pynput-robocorp-fork ## Installing pynput-robocorp-fork Before you install: Low install friction with a pure-Python wheel, but the package is abandoned as of 2022-12-29 with no recent maintenance. It depends on platform-specific libraries (pyobjc frameworks on macOS, python-xlib on Linux) that may require system development headers. License in practice: Licensed under LGPLv3 (copyleft), which requires that derivative works and modifications remain under the same license; using this in proprietary software requires careful compliance review or linking through a compatible wrapper. Quickstart: from pynput.mouse import Controller, Button mouse = Controller() mouse.position = (10, 20) mouse.click(Button.left, 2) from pynput.keyboard import Controller as KbController keyboard = KbController() keyboard.type('Hello World') On macOS, requires pyobjc frameworks; on Linux, requires python-xlib and X11 development headers; on Windows, may require DPI awareness setup for consistent coordinates with system scaling. Verify before relying: - Whether the Robocorp fork has diverged significantly from the original pynput in functionality or compatibility. - Current status of platform-specific dependencies (pyobjc, python-xlib) and their compatibility with modern Python versions. - Whether this fork is actively maintained or if the original pynput package should be preferred instead. ## Package facts - License: LGPLv3 (copyleft) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 339.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags mouse control and monitoring, keyboard input control, simulate mouse clicks, listen for keyboard events, automate user input, cross-platform input control, mouse listener threading, input-automation, cross-platform, abandoned [View on SkillFed](https://skillfed.io/packages/pynput-robocorp-fork) · [View on PyPI](https://pypi.org/project/pynput-robocorp-fork/)