{ "info": { "author": "Asvel", "author_email": "fe.asvel@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: MacOS X", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications :: Qt", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Desktop Environment", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces" ], "description": "====\npygs\n====\n\n.. image:: http://img.shields.io/pypi/v/PyGlobalShortcut.png\n :target: https://pypi.python.org/pypi/PyGlobalShortcut\n :alt: Latest PyPI version\n\n.. image:: http://img.shields.io/pypi/dm/PyGlobalShortcut.png\n :target: https://pypi.python.org/pypi/PyGlobalShortcut/\n :alt: Number of PyPI downloads\n\n.. image:: https://travis-ci.org/Asvel/pygs.svg?branch=master\n :target: https://travis-ci.org/Asvel/pygs\n :alt: Travis-CI build status\n\n|\n\n.. image:: http://dl.dropbox.com/u/750959/pygs_strike.png\n\n\nOverview\n--------\n\npygs provides cross-platform global hotkey / shortcuts for python using PyQt.\n\npygs is a wrapper for `libqxt `_'s `QxtGlobalShortcut `_.\n\nMy aim is to provide cross-platform support for global hotkeys (shortcuts) in python. Ideally I would like to remove the PyQt and libqxt dependency but that remains a (distant) future goal. I believe it is definitely possible and potentially quite useful though.\n\nThis fork support PyQt4 / PyQt5 on Python 2.x / 3.x.\n\n\nInstallation\n------------\n\nRequirements\n~~~~~~~~~~~~\n\nMinimal for working:\n\n* `PyQt `_\n\nFor building from source:\n\n* `Qt `_\n* `SIP `_\n\n*None of them could be installed automatic, please download and install them manually.*\n\n*If you install them from a package manager, please also install development packages (if exist).*\n\nInstall from Source Code\n~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ pip install PyGlobalShortcut\n\nor\n\n::\n\n $ setup.py install\n\n(Target Qt version can be specified by environment variable ``QT_SELECT``,\nvalid values are ``4`` or ``5``.)\n\nInstall from Binary Package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n**WARNING**: *Binary package probably only work with corresponding PyQt binary package.*\n\nBinary package can be found at `release page `_, please download an unzip it.\n\nThe file name of binary packages contains name of corresponding PyQt binary package (behind '``-for-``'), if that package does not exist or your PyQt is not installed from official binary package, **please install pygs from source code.**\n\nThere is a `Wheel `_ in it, install it by::\n\n $ pip install \n\nAgain, *binary package probably only work with corresponding PyQt binary package*, please use it carefully.\n\n\nUsage\n-----\n\n**See examples/simple.py**\n\n::\n\n $ python simple.py\n\n| ``Ctrl+Alt+S`` - activate shortcut\n| ``Ctrl+Alt+F`` - quit application\n\nNOTE: Ctrl maps to COMMAND on macs!!!! Yeah this is crazy confusing. But it's Qt not me :)\n\n\nTesting\n-------\n\nThere is a minimal test suite that check the compilation process for various\nenvironments and ensure QxtGlobalShortcut can be properly imported and used.\n\nTo run the tests, you must first install tox::\n\n $ pip install tox\n\n\nThen you can run the tests by running the following command::\n\n $ tox\n\nTo run the tests against a specific environment, use the -e option. E.g. to run\ntests with Python 2.7 and PyQt4, you would run::\n\n $ tox -e py27-pyqt4\n\nHere is the list of available test environments:\n\n- py27-pyqt4\n- py27-pyqt5\n- py32-pyqt4\n- py32-pyqt5\n- py33-pyqt4\n- py33-pyqt5\n- py34-pyqt4\n- py34-pyqt5\n\n\nAcknowledgements\n----------------\n\npygs uses\n\n* `Digia `_'s `Qt `_\n\n* `Riverbank Computing Limited `_'s `SIP `_\n\n* `Riverbank Computing Limited `_'s `PyQt `_\n\n* `libqxt `_\n\nThanks!\n\n\nLicense\n-------\n\npygs - Python bindings to libqxt's QxtGlobalShortcut using SIP and PyQt. In other words, global hotkeys for PyQt.\n\n| Copyright (C) 2010 J. Matt Peterson\n| Copyright (C) 2014 Asvel\n\nYou may use pygs under the terms of the General Public License (GPL) Version 3 or you may contact the author for permission or a commercial license. The commercial license option is specifically provided for those who are unable or unwilling to use the GPL.\n\nhttp://www.gnu.org/licenses/gpl-3.0.txt", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Asvel/pygs", "keywords": "shortcut hotkey QxtGlobalShortcut libqxt qt", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "PyGlobalShortcut", "package_url": "https://pypi.org/project/PyGlobalShortcut/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyGlobalShortcut/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Asvel/pygs" }, "release_url": "https://pypi.org/project/PyGlobalShortcut/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Python bindings to libqxt's QxtGlobalShortcut", "version": "0.2.3" }, "last_serial": 1295329, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "5ae53d869fd8cb8a472c332dad46a6de", "sha256": "876ef0b660c64439b481e08a4ed0a65b77d48191d038d54adfd2db8ced1c0d8e" }, "downloads": -1, "filename": "PyGlobalShortcut-0.2.1.zip", "has_sig": false, "md5_digest": "5ae53d869fd8cb8a472c332dad46a6de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43046, "upload_time": "2014-05-01T07:11:08", "url": "https://files.pythonhosted.org/packages/d0/bd/a75d13d3bafa0dc55c585cc6c00a5b4b84bda5a336f8ff731d46f9cd5940/PyGlobalShortcut-0.2.1.zip" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "658767bb8ba9c45df447d3ad814e816e", "sha256": "667da3cf46a0ca2d715accfe1658529c03d31260964300e0eba2f28b04b6754d" }, "downloads": -1, "filename": "PyGlobalShortcut-0.2.2.zip", "has_sig": false, "md5_digest": "658767bb8ba9c45df447d3ad814e816e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43063, "upload_time": "2014-10-01T13:27:48", "url": "https://files.pythonhosted.org/packages/44/43/396e9544217e4e79e9087574f111edf713323370ee7561f5d5de2cc401c7/PyGlobalShortcut-0.2.2.zip" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "ffb97a244e3959ea8f4015faa5aad029", "sha256": "86fd24f4394d766c605dbdfcfbacd0710dd9b416168c5fdda91b53d268f92b48" }, "downloads": -1, "filename": "PyGlobalShortcut-0.2.3.zip", "has_sig": false, "md5_digest": "ffb97a244e3959ea8f4015faa5aad029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44555, "upload_time": "2014-11-05T11:45:20", "url": "https://files.pythonhosted.org/packages/d4/de/6c91a656bcc653daa0af06017309d796a394fb980298a340ae136ff373e2/PyGlobalShortcut-0.2.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffb97a244e3959ea8f4015faa5aad029", "sha256": "86fd24f4394d766c605dbdfcfbacd0710dd9b416168c5fdda91b53d268f92b48" }, "downloads": -1, "filename": "PyGlobalShortcut-0.2.3.zip", "has_sig": false, "md5_digest": "ffb97a244e3959ea8f4015faa5aad029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44555, "upload_time": "2014-11-05T11:45:20", "url": "https://files.pythonhosted.org/packages/d4/de/6c91a656bcc653daa0af06017309d796a394fb980298a340ae136ff373e2/PyGlobalShortcut-0.2.3.zip" } ] }