{ "info": { "author": "Tom Lambert", "author_email": "devtechsupport@logitech.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Topic :: Software Development :: Libraries" ], "description": "LogiPy\n======\n\nThis package is a python wrapper for `Logitech G's LED and Arx\nSDKs `__.\n\nUse the LED SDK to get access to all of the LED backlighting and RGB\ncapabilities of Logitech G products. Integrate profiles for custom key\nconfigurations, develop in-game effects, or mark keys to keep track of\ncool downs on various commands.\n\nArx Control introduces second screen capability that allows iOS and\nAndroid mobile devices to display in-game info, vital system statistics\nand more. The associated SDK enables integration of your code with the\nArx Control app.\n\nLED Examples\n------------\n\nSet all device lighting to red:\n\n::\n\n from logipy import logi_led\n import time\n import ctypes\n\n logi_led.logi_led_init()\n time.sleep(1) # Give the SDK a second to initialize\n logi_led.logi_led_set_lighting(100, 0, 0)\n logi_led.logi_led_shutdown()\n\nOr if you prefer the c/c++ style you can use the LED DLL directly:\n\n::\n\n from logipy import logi_led\n import time\n import ctypes\n\n logi_led.led_dll.LogiLedInit()\n time.sleep(1) # Give the SDK a second to initialize\n logi_led.led_dll.LogiLedSetLighting(ctypes.c_int(0), ctypes.c_int(100), ctypes.c_int(0))\n logi_led.led_dll.LogiLedShutdown()\n\nLoad user configured settings for your LED effects:\n\n::\n\n from logipy import logi_led\n import time\n import ctypes\n\n logi_led.led_dll.LogiLedInit()\n time.sleep(1) # Give the SDK a second to initialize\n\n effect_enabled = logi_led.logi_led_get_config_option_bool('effect/enabled', True) # Use a default value if not found\n effect_duration = logi_led.logi_led_get_config_option_number('effect/duration', 5)\n effect_color = logi_led.logi_led_get_config_option_color('effect/color', Color(0, 255, 0))\n\n logi_led.logi_led_set_config_option_label('effect', 'Effect Settings')\n logi_led.logi_led_set_config_option_label('effect/enabled', 'Enabled')\n logi_led.logi_led_set_config_option_label('effect/duration', 'Duration in seconds')\n logi_led.logi_led_set_config_option_label('effect/color', 'Color')\n\n if effect_enabled:\n logi_led.logi_led_set_lighting(*effect_color.rgb_percent())\n time.sleep(effect_duration)\n\n logi_led.led_dll.LogiLedShutdown()\n\nArx Examples\n------------\n\nShow a simple applet with the default callback:\n\n::\n\n from logipy import logi_arx\n import time\n\n index = \"\"\"\n \n \n \n \n \n \n \n \n \n \"\"\"\n css = \"\"\"\n body {\n background-color: black;\n }\n img {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 118px;\n height: 118px;\n margin-top: -59px;\n margin-left: -59px;\n }\n \"\"\"\n logi_arx.logi_arx_init(\"com.logitech.gaming.logipy\", \"LogiPy\")\n time.sleep(1)\n logi_arx.logi_arx_add_utf8_string_as(index, \"index.html\", \"text/html\")\n logi_arx.logi_arx_add_utf8_string_as(css, \"style.css\", \"text/css\")\n logi_arx.logi_arx_set_index(\"index.html\")\n logi_arx.logi_arx_shutdown()\n\nShow a simple applet with a custom callback:\n\n::\n\n from logipy import logi_arx\n import time\n import ctypes\n\n index = \"\"\"\n \n \n \n \n \n \n \n \n \n \"\"\"\n css = \"\"\"\n body {\n background-color: black;\n }\n img {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 118px;\n height: 118px;\n margin-top: -59px;\n margin-left: -59px;\n }\n \"\"\"\n def custom_callback(event_type, event_value, event_arg, context):\n if event_arg and event_arg == 'splash-icon':\n print \"\\nNo wonder Logitech is called Logicool in Japan! They are so cool!\"\n\n logi_arx.logi_arx_init(\"com.logitech.gaming.logipy\", \"LogiPy\", custom_callback)\n time.sleep(1)\n logi_arx.logi_arx_add_utf8_string_as(index, \"index.html\", \"text/html\")\n logi_arx.logi_arx_add_utf8_string_as(css, \"style.css\", \"text/css\")\n logi_arx.logi_arx_set_index(\"index.html\")\n logi_arx.logi_arx_shutdown()", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Logitech/logiPy/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gaming.logitech.com/en-us/developers", "keywords": "logi,logipy,Logitech,LogitechG,LED,Arx,LGS,Logitech Gaming Software", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "logipy", "package_url": "https://pypi.org/project/logipy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/logipy/", "project_urls": { "Download": "https://github.com/Logitech/logiPy/tarball/master", "Homepage": "http://gaming.logitech.com/en-us/developers" }, "release_url": "https://pypi.org/project/logipy/1.3.1/", "requires_dist": null, "requires_python": null, "summary": "A simple python wrapper for Logitech G's LED and Arx SDKs.", "version": "1.3.1" }, "last_serial": 2918299, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e3056f45949fc30faa4cf771278fa5aa", "sha256": "c31114342669b99cd31da2948f974195c3e9ceebdabd5ed054e64a07c93bfdfb" }, "downloads": -1, "filename": "logipy-1.0.0.zip", "has_sig": false, "md5_digest": "e3056f45949fc30faa4cf771278fa5aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9835, "upload_time": "2015-10-14T17:44:35", "url": "https://files.pythonhosted.org/packages/07/ea/b5961510662c0b6e2e243d6f515b984c4175938b747d16209542abe307be/logipy-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b447871e20a85a75e3f8bce175ee8ae2", "sha256": "6b67ea088e7677f38bee3f5a2c78e8e1a182cf7077df962fccbe1edb24900f2d" }, "downloads": -1, "filename": "logipy-1.0.1.zip", "has_sig": false, "md5_digest": "b447871e20a85a75e3f8bce175ee8ae2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11072, "upload_time": "2015-10-14T18:20:58", "url": "https://files.pythonhosted.org/packages/c8/31/9a76638c0352174e8d9e965b38638d4b195924eca26b37307b27ec8c1589/logipy-1.0.1.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c3f3b7802ecfb3ca01fa714d5822fca4", "sha256": "b4f538e6366e97d0e3e5f711d8d555c8d3c96513b14f1092226f403692ab6d5f" }, "downloads": -1, "filename": "logipy-1.1.0.zip", "has_sig": false, "md5_digest": "c3f3b7802ecfb3ca01fa714d5822fca4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11216, "upload_time": "2016-07-19T21:34:58", "url": "https://files.pythonhosted.org/packages/13/39/52b02150e722b4e913dc90c9b9551dfac78ad4d226aeb408b7a71e8ed8af/logipy-1.1.0.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "f66f2cf8aca9fe74a764aaf386a99c7d", "sha256": "79214df3245f00052abf16ec7462e05a6f2ce612aed6c6c28eaa761bfd19e05a" }, "downloads": -1, "filename": "logipy-1.2.0.zip", "has_sig": false, "md5_digest": "f66f2cf8aca9fe74a764aaf386a99c7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11206, "upload_time": "2016-09-26T18:53:22", "url": "https://files.pythonhosted.org/packages/38/15/e60c9508cb9465f3dc2aa9e31cb2bb4dc97ddbf6388a322906d7daa581c2/logipy-1.2.0.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "99e8ff9956f4f0172894425fba06176e", "sha256": "3e4796f7f8fbd136ba7b3ed417dd4dded8ac76b761d9fbe02c3358933ded448b" }, "downloads": -1, "filename": "logipy-1.2.1.zip", "has_sig": false, "md5_digest": "99e8ff9956f4f0172894425fba06176e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11278, "upload_time": "2016-10-21T01:09:44", "url": "https://files.pythonhosted.org/packages/b9/da/2865528c73b2815ea52ea9ffc88da5bce6363e8ea6bbecc4dab381781c39/logipy-1.2.1.zip" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "d4f0aac60f81dee480a0348caccb6460", "sha256": "40b2a675f13bff074fbcd7e7ce8d27252fb4ea51d7cee64ad39dbb8c5f846a1b" }, "downloads": -1, "filename": "logipy-1.3.0.zip", "has_sig": false, "md5_digest": "d4f0aac60f81dee480a0348caccb6460", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13339, "upload_time": "2017-01-18T00:01:09", "url": "https://files.pythonhosted.org/packages/e0/a3/39b33861544991d2ad8d0efee426dfd83c67692ab1e58ddda5d0a409fbc1/logipy-1.3.0.zip" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "60ccd932520602e1d41a313bd89acde7", "sha256": "93fbb04a86c53401d23cf207606715e82f72a66999293c28d4e14c0168994b29" }, "downloads": -1, "filename": "logipy-1.3.1.zip", "has_sig": false, "md5_digest": "60ccd932520602e1d41a313bd89acde7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13368, "upload_time": "2017-06-01T21:58:41", "url": "https://files.pythonhosted.org/packages/e8/aa/df4b55f3721c79e52693f11f6a6e97fe252a403f55e055da640faf78cb2c/logipy-1.3.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60ccd932520602e1d41a313bd89acde7", "sha256": "93fbb04a86c53401d23cf207606715e82f72a66999293c28d4e14c0168994b29" }, "downloads": -1, "filename": "logipy-1.3.1.zip", "has_sig": false, "md5_digest": "60ccd932520602e1d41a313bd89acde7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13368, "upload_time": "2017-06-01T21:58:41", "url": "https://files.pythonhosted.org/packages/e8/aa/df4b55f3721c79e52693f11f6a6e97fe252a403f55e055da640faf78cb2c/logipy-1.3.1.zip" } ] }