{ "info": { "author": "Hong-She Liang", "author_email": "starofrainnight@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries" ], "description": "rabird.winio\n========================\n\n**WARNING: This library was renamed to** `pywinio `_ **, please use it instead!**\n\nA wrapper library for winio .\n\nThanks for the great WinIO library which comes from Yariv Kaplan.\n\nThe WinIO library binary distribution will be accessed from winiobinary package.\n\nUsage\n========================\n\n* Keyboard Emulation\n\n NOTICE: You must have a ps/2 keyboard connected to your PC if you test on win10 or later, otherwise this sample won't works!\n\n::\n\n import rabird.winio\n import time\n import atexit\n\n # KeyBoard Commands\n # Command port\n KBC_KEY_CMD\t= 0x64\n # Data port\n KBC_KEY_DATA = 0x60\n\n __winio = None\n\n def __get_winio():\n \tglobal __winio\n\n \tif __winio is None:\n \t\t__winio = rabird.winio.WinIO()\n \t\tdef __clear_winio():\n \t\t\tglobal __winio\n \t\t\t__winio = None\n \t\tatexit.register(__clear_winio)\n\n \treturn __winio\n\n def wait_for_buffer_empty():\n \t'''\n \tWait keyboard buffer empty\n \t'''\n\n \twinio = __get_winio()\n\n \tdwRegVal = 0x02\n \twhile (dwRegVal & 0x02):\n \t\tdwRegVal = winio.get_port_byte(KBC_KEY_CMD)\n\n def key_down(scancode):\n \twinio = __get_winio()\n\n \twait_for_buffer_empty();\n \twinio.set_port_byte(KBC_KEY_CMD, 0xd2);\n \twait_for_buffer_empty();\n \twinio.set_port_byte(KBC_KEY_DATA, scancode)\n\n def key_up(scancode):\n \twinio = __get_winio()\n\n \twait_for_buffer_empty();\n \twinio.set_port_byte( KBC_KEY_CMD, 0xd2);\n \twait_for_buffer_empty();\n \twinio.set_port_byte( KBC_KEY_DATA, scancode | 0x80);\n\n def key_press(scancode, press_time = 0.2):\n \tkey_down( scancode )\n \ttime.sleep( press_time )\n \tkey_up( scancode )\n\n\n # Press 'A' key\n # Scancodes references : https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html\n key_press(0x1E)\n\n\nPrivilege Requirements\n========================\n\nWinIo requires administrative privileges to run properly. This can be achieved by:\n\n* Using WinIo from a service running as LocalSystem (SE_LOAD_DRIVER_NAME privilege must be explicitly enabled).\n* Embedding a manifest file in the application that requests privilege elevation.\n* Requiring the user to choose the \"Run as Administrator\" option when launching the application.\n\nThe included C# samples demonstrate using an embedded manifest file to request privilege elevation.\n\nDriver Signing Requirements on 64-bit Systems\n=================================================\n\n64-bit versions of Windows only load device drivers that are signed by a code signing certificate issued by a public CA such as Verisign, Thawte, etc. WinIo64.sys must not be deployed on production machines unless a code signing certificate is obtained and used to sign this file. The bundled copy of WinIo64.sys is signed with a self-signed certificate and can only be used on development/test machines with Windows running in a special \"test\" mode. In order to use the bundled version of WinIo64.sys, you need to take the following steps:\n\n* Open an elevated command window by right-clicking the icon and clicking \"Run as Administrator\".\n* Type the following command to enable test-signing:\n\n ::\n\n bcdedit.exe /set TESTSIGNING ON\n\n* Reboot the machine\n\nFor more information on Windows driver signing requirements, please refer to http://www.microsoft.com/whdc/winlogo/drvsign/kmcs_walkthrough.mspx.\n\nLicenses\n===============\n\nThis library used MIT license which already descripted in LICENSE.txt\n\nWinIO library's license descripted in LICENSE-WINIO.txt\n\nChanges\n=======\n\n\n0.2.6 (2018-07-20)\n---------------------\n\n* Claim this library renamed to pywinio!\n\n0.2.5 (2018-07-20)\n---------------------\n\n* Removed support of python 2.x\n\n0.2.4 (2018-06-01)\n---------------------\n\n* Supported automatic deploy by appveyor\n\n0.2.0 (2018-01-21)\n---------------------\n\n* Depends on winiobinary project, so we don't need to download WinIo binaries during setup.py\n\n0.1.9 (2015-12-02)\n---------------------\n\n* Can't install from packaged zip file due to missing rabird_bootstrap.py\n\n0.1.8 (2015-09-09)\n---------------------\n\n* Fixed not working with 64bits os\n\n0.1.0 (2015-08-18)\n---------------------\n\n* Fixed not working with python3\n\n0.0.9 (2015-08-18)\n---------------------\n\n* Initial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/starofrainnight/rabird.winio", "keywords": "rabird.winio,winio", "license": "", "maintainer": "", "maintainer_email": "", "name": "rabird.winio", "package_url": "https://pypi.org/project/rabird.winio/", "platform": "", "project_url": "https://pypi.org/project/rabird.winio/", "project_urls": { "Homepage": "https://github.com/starofrainnight/rabird.winio" }, "release_url": "https://pypi.org/project/rabird.winio/0.2.6/", "requires_dist": null, "requires_python": "", "summary": "A wrapper library for WinIO", "version": "0.2.6" }, "last_serial": 4085991, "releases": { "0.0.9": [ { "comment_text": "", "digests": { "md5": "1f59027f728d5e1aecb05ce27c958b81", "sha256": "1b02adac3ee377d4bb10271e1d0ce3cf18a863c6aca35ed099cae45a731457c2" }, "downloads": -1, "filename": "rabird.winio-0.0.9.zip", "has_sig": false, "md5_digest": "1f59027f728d5e1aecb05ce27c958b81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18117, "upload_time": "2015-08-18T06:32:23", "url": "https://files.pythonhosted.org/packages/5f/d3/c755fb72882be2c60d1958304158eb06fd8f564bd53b3b48a764fbeafda8/rabird.winio-0.0.9.zip" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "54d53852edf16d6f9fbcad995bef9f62", "sha256": "1351d6d04ca692b8da136c6435a138b53e0b42f44e413c7a6460f931566b81e8" }, "downloads": -1, "filename": "rabird.winio-0.1.0.zip", "has_sig": false, "md5_digest": "54d53852edf16d6f9fbcad995bef9f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18248, "upload_time": "2015-08-18T07:29:59", "url": "https://files.pythonhosted.org/packages/19/f4/d2033a00341d0e76dadc7b26d98a1b2296a6a9f99a9d40b997f2969d3571/rabird.winio-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "48c6ee107dd3cc3320917650d5a010f5", "sha256": "ae4aa2583993a2917895ada54b78a168acd0017b5759f648a3367ff32d3f966d" }, "downloads": -1, "filename": "rabird.winio-0.1.1.zip", "has_sig": false, "md5_digest": "48c6ee107dd3cc3320917650d5a010f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18458, "upload_time": "2015-08-18T07:49:09", "url": "https://files.pythonhosted.org/packages/74/1d/e252bf75508fd52ce7ff7d9b60be59e22396328a05972bac2670c79df372/rabird.winio-0.1.1.zip" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "5e2b20e5230d71c1ca33848d141c6cde", "sha256": "a48306dd59bdba570a61aa15a6fea92d21dd64fc76a2b8c4de18d62f6ced51a8" }, "downloads": -1, "filename": "rabird.winio-0.1.10.zip", "has_sig": false, "md5_digest": "5e2b20e5230d71c1ca33848d141c6cde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19227, "upload_time": "2016-01-03T08:04:36", "url": "https://files.pythonhosted.org/packages/12/88/90ee5923de0c915b082cc0ae33c5689655edd9c454a1d68e0a3445e47623/rabird.winio-0.1.10.zip" } ], "0.1.11": [ { "comment_text": "", "digests": { "md5": "3b2bdc1ac1d3e0b7e907f02573274d9d", "sha256": "0fe1cfc119bccbdc41bfb6dd43a1d1e15930aacf75a209094a550b789b304c91" }, "downloads": -1, "filename": "rabird.winio-0.1.11.zip", "has_sig": false, "md5_digest": "3b2bdc1ac1d3e0b7e907f02573274d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19502, "upload_time": "2016-01-03T12:46:29", "url": "https://files.pythonhosted.org/packages/44/16/a7e45a4b2ca0a1c89e0bbcb371b50033a4cfd6a8832df106eeb8af773c08/rabird.winio-0.1.11.zip" } ], "0.1.13": [ { "comment_text": "", "digests": { "md5": "08bb6c00532e49c8d98dc7754d5a077f", "sha256": "615ea257268631e7ad0e6691e30d03236858540915a0a23fa56d6b54cffa59ea" }, "downloads": -1, "filename": "rabird.winio-0.1.13.zip", "has_sig": false, "md5_digest": "08bb6c00532e49c8d98dc7754d5a077f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17853, "upload_time": "2016-05-31T14:49:42", "url": "https://files.pythonhosted.org/packages/05/1d/e6936295d245cf458de6d30949559c9ac295980f540587aa81196a3c1026/rabird.winio-0.1.13.zip" } ], "0.1.14": [ { "comment_text": "", "digests": { "md5": "d8b45ef9c91da19a3b77d2156dc39674", "sha256": "8bfae47f1c708b49419eba9123570f6b7e83aa38ecfa5aa3939af725bb13df5a" }, "downloads": -1, "filename": "rabird.winio-0.1.14.zip", "has_sig": false, "md5_digest": "d8b45ef9c91da19a3b77d2156dc39674", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17864, "upload_time": "2016-08-26T08:38:01", "url": "https://files.pythonhosted.org/packages/c8/1c/a2bd3020239b85ab5b2e8be862b0c3943d32bdab38c192652cc01c3845f1/rabird.winio-0.1.14.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3aaded678d79d5ffd18cf84cd70a6709", "sha256": "5ca41275c165d02698e22ad012692582ad8ddaee29dbc15ebae5bd4144ce2c40" }, "downloads": -1, "filename": "rabird.winio-0.1.2.zip", "has_sig": false, "md5_digest": "3aaded678d79d5ffd18cf84cd70a6709", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22010, "upload_time": "2015-08-18T11:46:46", "url": "https://files.pythonhosted.org/packages/5e/32/2c104f9512ce78e6373fafdd25a64d31488fd039976c23e141b0eec39c43/rabird.winio-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "143e888bc882572464b2306fc21b463b", "sha256": "8f775d28c2e6a52776a31d4b1d54a46616ac99c2a1309e6e9a5cf33129e75dd8" }, "downloads": -1, "filename": "rabird.winio-0.1.3.zip", "has_sig": false, "md5_digest": "143e888bc882572464b2306fc21b463b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19277, "upload_time": "2015-08-18T12:38:09", "url": "https://files.pythonhosted.org/packages/2b/25/447afb5879eb417865df6515c16d06ac15cd6870fd64de2dcb2d1e707b0a/rabird.winio-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "416947e115580949b57a99af22df4a8e", "sha256": "c71ae2105a0e0c136f3e36b08a503737cbf4cef3fafa429034764755230073e9" }, "downloads": -1, "filename": "rabird.winio-0.1.4.zip", "has_sig": false, "md5_digest": "416947e115580949b57a99af22df4a8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15696, "upload_time": "2015-08-18T12:38:32", "url": "https://files.pythonhosted.org/packages/bc/20/87085df57c49073ab5eb2dfd9ce3e2303c0d6d46cb5a3236a5f81b656f44/rabird.winio-0.1.4.zip" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "ea852596594fad290a09eb3d5598c711", "sha256": "847b4dc6ed6b0cc537143273be3c34d715d33b44875e5318be618e231d0beb16" }, "downloads": -1, "filename": "rabird.winio-0.1.5.zip", "has_sig": false, "md5_digest": "ea852596594fad290a09eb3d5598c711", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15695, "upload_time": "2015-08-18T12:40:01", "url": "https://files.pythonhosted.org/packages/76/bf/eeef169ecf6b9548fd7a274cdc19baeb1162af0a3c6625cf9d70662e88f5/rabird.winio-0.1.5.zip" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "028c6d75ea759db9bbe5fe83c98419ac", "sha256": "367906bbbad764b93121d0f3297a178562df5a8a2b062611c6230f6bff88ebc2" }, "downloads": -1, "filename": "rabird.winio-0.1.6.zip", "has_sig": false, "md5_digest": "028c6d75ea759db9bbe5fe83c98419ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12170, "upload_time": "2015-08-23T11:18:42", "url": "https://files.pythonhosted.org/packages/cb/83/ff53d6cc33298b2542c5a533171fd94644caafb382d404cbdf8323f16552/rabird.winio-0.1.6.zip" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "d15cd06771be4c9d39671de126e1dc16", "sha256": "25ed1497251e34cb20c60719789661a34716b0dfe8e9b37f8c5c4bcd2032b1c4" }, "downloads": -1, "filename": "rabird.winio-0.1.7.zip", "has_sig": false, "md5_digest": "d15cd06771be4c9d39671de126e1dc16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13525, "upload_time": "2015-08-27T04:34:05", "url": "https://files.pythonhosted.org/packages/0c/a8/ebe554704650a48eb8f9e986a0fa29c6553275c7140f89e1f6cf5a98be67/rabird.winio-0.1.7.zip" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "4053491ca64d99c0a3af2776fbf3673b", "sha256": "f7064a2b8b2e2c85c2bdd64c900926c8e73aac383d30e0b6605a476fad943ef6" }, "downloads": -1, "filename": "rabird.winio-0.1.8.zip", "has_sig": false, "md5_digest": "4053491ca64d99c0a3af2776fbf3673b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13523, "upload_time": "2015-09-09T09:17:24", "url": "https://files.pythonhosted.org/packages/06/92/2c37fba1cf901305f663d994abee607345077725e8a2b9d6600f47a2c854/rabird.winio-0.1.8.zip" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "13479297f5bc3c919680250a4115a7f4", "sha256": "8b0d08de78412df1adf32289b6b033cebf6d4e38fe35fc4d4d462f2d0bc4a58f" }, "downloads": -1, "filename": "rabird.winio-0.1.9.zip", "has_sig": false, "md5_digest": "13479297f5bc3c919680250a4115a7f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19265, "upload_time": "2015-12-02T13:58:03", "url": "https://files.pythonhosted.org/packages/44/ef/1a078f56b1b23c912e36ad18825c8de94694b8bf9b3653ef62cff614aeb4/rabird.winio-0.1.9.zip" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "20b079e96b75f421fa9b46086ed6809b", "sha256": "969d4a19c0be5fcf032288b0baba2818658dfa57a83e0d32fe972acb411cbcf6" }, "downloads": -1, "filename": "rabird.winio-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "20b079e96b75f421fa9b46086ed6809b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9569, "upload_time": "2018-01-21T09:58:05", "url": "https://files.pythonhosted.org/packages/e0/02/c4c769fd23f8e9d1ef2d88abfbf2fb5e16cc96c95133b8cb69d77eb5c14f/rabird.winio-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcbf4da5b32d619ec0f40bc9a39679ba", "sha256": "dea2dd42f03526f0a1704639386e61baba1ac215f20e8728d5d323e2e425fc04" }, "downloads": -1, "filename": "rabird.winio-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bcbf4da5b32d619ec0f40bc9a39679ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9691, "upload_time": "2018-01-21T09:58:30", "url": "https://files.pythonhosted.org/packages/93/d6/e55bd150698ae2e4c3bb64b89edc45f606aee09c0845239da226ab1a8699/rabird.winio-0.2.1-py3-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "6da7c3243115ff849c8cd0103da8e7c9", "sha256": "962b6b0d11af12f39c5c3bfdf87298325e6d1b1ffaa5121db54b591bbfd8e6f3" }, "downloads": -1, "filename": "rabird.winio-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "6da7c3243115ff849c8cd0103da8e7c9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9564, "upload_time": "2018-02-05T12:40:40", "url": "https://files.pythonhosted.org/packages/99/4d/1d625e241855f8df313599029c4c8a22cc99a494d00761c26976a3ba20d9/rabird.winio-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b84d2f0d3f792fdb0f07a9ea1e7dad63", "sha256": "bd48b11975b6383e424155d73228a3896bc26eb96d1ccd89a433c4fd34e0a4e1" }, "downloads": -1, "filename": "rabird.winio-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b84d2f0d3f792fdb0f07a9ea1e7dad63", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9668, "upload_time": "2018-02-05T12:40:43", "url": "https://files.pythonhosted.org/packages/98/08/3c58a42db5f61e3db5fa3beeec1ab7c8924a10c7888ea49a28b8400ec757/rabird.winio-0.2.2-py3-none-any.whl" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "028eb55936d8c3abbbbaf2aa293b4e3b", "sha256": "3f668f870c1a850fe1505f60f9caad42e6da9023c7fa011d5d3f510964f34b5b" }, "downloads": -1, "filename": "rabird.winio-0.2.4.tar.gz", "has_sig": false, "md5_digest": "028eb55936d8c3abbbbaf2aa293b4e3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11221, "upload_time": "2018-06-01T15:08:16", "url": "https://files.pythonhosted.org/packages/47/f4/c5bdaf85b558443cd17a9c4af16ed6cb1af7017c486ec37cb104d026a310/rabird.winio-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "789e522cfae0aee97465f247f86ae2b8", "sha256": "58e6df257e0a140f0c324159b659a35cbe33fe20e88265d822b7805802b1137b" }, "downloads": -1, "filename": "rabird.winio-0.2.5.tar.gz", "has_sig": false, "md5_digest": "789e522cfae0aee97465f247f86ae2b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11194, "upload_time": "2018-07-20T13:42:26", "url": "https://files.pythonhosted.org/packages/2a/27/2df18f5f3bbf1a93c0cdd679e4e046a6515aaf02e53674c9a654e4646ac7/rabird.winio-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "64f89fadd82c734250c4651586b7a3d7", "sha256": "390f369855929a7bcc1e5523dece0afe7dda60440f5e4f4857a737efc97e3e4a" }, "downloads": -1, "filename": "rabird.winio-0.2.6.tar.gz", "has_sig": false, "md5_digest": "64f89fadd82c734250c4651586b7a3d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11303, "upload_time": "2018-07-20T14:30:20", "url": "https://files.pythonhosted.org/packages/61/1b/4ce39412b782d6c51f58c9fd96e38e8e8b3758d29658bd4f1929c2403657/rabird.winio-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64f89fadd82c734250c4651586b7a3d7", "sha256": "390f369855929a7bcc1e5523dece0afe7dda60440f5e4f4857a737efc97e3e4a" }, "downloads": -1, "filename": "rabird.winio-0.2.6.tar.gz", "has_sig": false, "md5_digest": "64f89fadd82c734250c4651586b7a3d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11303, "upload_time": "2018-07-20T14:30:20", "url": "https://files.pythonhosted.org/packages/61/1b/4ce39412b782d6c51f58c9fd96e38e8e8b3758d29658bd4f1929c2403657/rabird.winio-0.2.6.tar.gz" } ] }