MouseInfo


NameMouseInfo JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/asweigart/mouseinfo
SummaryAn application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3.
upload_time2020-03-27 21:20:10
maintainer
docs_urlNone
authorAl Sweigart
requires_python
licenseGPLv3+
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            MouseInfo
======

An application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3. This is useful for GUI automation planning.

The full documentation is at https://mouseinfo.readthedocs.io/en/latest/

Installation
------------

To install with pip, run:

    pip install mouseinfo

Quickstart Guide
----------------

To run this application, enter the following into the terminal:

    python3 -m mouseinfo

Or for Python 2, run:

    python -m mouseinfo

Alternatively, to run it from the interactive shell or a Python program:

    >>> import mouseinfo
    >>> mouseinfo.mouseInfo()

The Mouse Info application displays the current XY coordinates of the mouse cursor, as well as the RGB color information of the pixel directly under the cursor. This can be useful for planning out GUI automation tests where the mouse is controlled by a script (such as a Python script with PyAutoGUI) to click on the screen at specific coordinates.

The "Copy" buttons will copy this mouse information to the clipboard, while the "Log" buttons will add this mouse information to the text field in the application. The RGB color information is given as a comman-delimited, three-integer red, green, and blue values as decimals from 0 to 255. The hex values of the RGB value is also given.

For practical use, you should set the keyboard focus on these buttons by tabbing over them. This leaves you free to move the mouse into position and then press space or Enter to log the current mouse coordinates/RGB value.

The contents of the log text field can be saved by clicking "Save Log". This will automatically overwrite any file with the provided name. A screenshot can also be saved by clicking "Save Screenshot"

Contribute
----------

If you'd like to contribute to MouseInfo, check out https://github.com/asweigart/mouseinfo
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/asweigart/mouseinfo",
    "name": "MouseInfo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Al Sweigart",
    "author_email": "al@inventwithpython.com",
    "download_url": "https://files.pythonhosted.org/packages/28/fa/b2ba8229b9381e8f6381c1dcae6f4159a7f72349e414ed19cfbbd1817173/MouseInfo-0.1.3.tar.gz",
    "platform": "",
    "description": "MouseInfo\n======\n\nAn application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3. This is useful for GUI automation planning.\n\nThe full documentation is at https://mouseinfo.readthedocs.io/en/latest/\n\nInstallation\n------------\n\nTo install with pip, run:\n\n    pip install mouseinfo\n\nQuickstart Guide\n----------------\n\nTo run this application, enter the following into the terminal:\n\n    python3 -m mouseinfo\n\nOr for Python 2, run:\n\n    python -m mouseinfo\n\nAlternatively, to run it from the interactive shell or a Python program:\n\n    >>> import mouseinfo\n    >>> mouseinfo.mouseInfo()\n\nThe Mouse Info application displays the current XY coordinates of the mouse cursor, as well as the RGB color information of the pixel directly under the cursor. This can be useful for planning out GUI automation tests where the mouse is controlled by a script (such as a Python script with PyAutoGUI) to click on the screen at specific coordinates.\n\nThe \"Copy\" buttons will copy this mouse information to the clipboard, while the \"Log\" buttons will add this mouse information to the text field in the application. The RGB color information is given as a comman-delimited, three-integer red, green, and blue values as decimals from 0 to 255. The hex values of the RGB value is also given.\n\nFor practical use, you should set the keyboard focus on these buttons by tabbing over them. This leaves you free to move the mouse into position and then press space or Enter to log the current mouse coordinates/RGB value.\n\nThe contents of the log text field can be saved by clicking \"Save Log\". This will automatically overwrite any file with the provided name. A screenshot can also be saved by clicking \"Save Screenshot\"\n\nContribute\n----------\n\nIf you'd like to contribute to MouseInfo, check out https://github.com/asweigart/mouseinfo",
    "bugtrack_url": null,
    "license": "GPLv3+",
    "summary": "An application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3.",
    "version": "0.1.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "de4845a65e547f6606c0f6609f0ea8b2",
                "sha256": "2c62fb8885062b8e520a3cce0a297c657adcc08c60952eb05bc8256ef6f7f6e7"
            },
            "downloads": -1,
            "filename": "MouseInfo-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "de4845a65e547f6606c0f6609f0ea8b2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10850,
            "upload_time": "2020-03-27T21:20:10",
            "upload_time_iso_8601": "2020-03-27T21:20:10.136560Z",
            "url": "https://files.pythonhosted.org/packages/28/fa/b2ba8229b9381e8f6381c1dcae6f4159a7f72349e414ed19cfbbd1817173/MouseInfo-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-03-27 21:20:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "asweigart",
    "github_project": "mouseinfo",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "tox": true,
    "lcname": "mouseinfo"
}
        
Elapsed time: 0.03245s