MouseInfo
An application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3.
What it is and what it does
MouseInfo is a standalone GUI application that tracks your mouse cursor position and samples the RGB color of the pixel directly beneath it. It displays both decimal RGB values (0–255) and hex equivalents, along with live XY coordinates. The application includes buttons to copy the current mouse state to the clipboard or log it to an internal text field; logged data can be saved to a file, and screenshots can also be captured.
It is designed for developers planning GUI automation scripts—particularly those using tools like PyAutoGUI—who need to identify exact screen coordinates and color values for clickable elements or visual markers. You run it as a standalone tool (python3 -m mouseinfo) or call mouseinfo.mouseInfo() from your own code. The package is abandoned and has not been updated since 2020, so it may have compatibility issues with modern Python or operating system versions.
Use it for:
- Identify exact screen coordinates of UI elements before writing PyAutoGUI or similar automation scripts.
- Sample pixel colors from a GUI to use as visual markers or verification points in automated tests.
- Log a series of mouse positions and colors to a file for later reference during test planning.
- Quickly capture a screenshot during GUI exploration without leaving the application.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
MouseInfo displays the XY coordinates and RGB color of the pixel under your mouse cursor in a GUI window, useful for planning GUI automation scripts.
No, unless you are working with legacy Python 2 or 3.7 codebases. The package is abandoned (last release 2020-03-27), has high install friction due to implicit GUI dependencies, and is likely to have compatibility issues with modern systems. For modern GUI automation coordinate discovery, consider actively maintained alternatives or platform-specific tools.
Install
mouseinfo on PyPI
pip
pip install mouseinfouv
uv add mouseinfopoetry
poetry add mouseinfoInstalling MouseInfo
Before you install
Installation has high friction; the package is abandoned (last release 2020-03-27, last commit 2023-05-05) and likely depends on platform-specific GUI libraries not listed in its metadata. No runtime dependencies are declared, suggesting they may be implicit system requirements.
License in practice
Licensed under GPLv3+, a copyleft license. Any derivative work or bundled distribution must also be open-source under compatible terms.
Quickstart
pip install mouseinfo
python3 -m mouseinfo
Or in code:
import mouseinfo
mouseinfo.mouseInfo()
Requires a display server and platform-specific GUI libraries (likely Tkinter or similar); will not run headless or on systems without a graphical environment.
Verify before relying
- Whether the package works on modern Python versions beyond 3.7 (classifiers list only up to 3.7).
- What implicit system dependencies (GUI libraries, display server) are required for installation and runtime.
- Whether the abandoned status and age (last release 2020-03-27) affect compatibility with current operating systems.
Package facts
| License | GPLv3+ (copyleft) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,331 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,863,984/month — #2,855 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: MouseInfo-0.1.3.tar.gz
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
streamlit-image-coordinatesA Streamlit component that displays an image…
permissive · top 15,000 on PyPI
PyAutoGUIPyAutoGUI programmatically controls the mouse…
permissive · top 5,000 on PyPI
mplcursorsAdds interactive point-selection cursors to…
unclear · top 5,000 on PyPI
ansiProvides ANSI escape codes for cursor movement…
permissive · top 15,000 on PyPI
pynputPynput lets you programmatically control and…
copyleft · top 5,000 on PyPI
pynput-robocorp-forkControls and monitors mouse and keyboard input…
copyleft · top 15,000 on PyPI
hexorApplies colored text and background styling to…
permissive · top 15,000 on PyPI
ansicolorsEmbeds ANSI color and style codes into Python…
permissive · top 5,000 on PyPI
colourConverts between and manipulates color…
permissive · top 5,000 on PyPI
PyDirectInputAutomates mouse and keyboard input on Windows…
permissive · top 15,000 on PyPI