{"id":16967495,"url":"https://github.com/ron-popov/python-input-library","last_synced_at":"2026-05-16T13:02:34.148Z","repository":{"id":130678528,"uuid":"76375147","full_name":"ron-popov/Python-Input-Library","owner":"ron-popov","description":"A library that allows simulation of keyboard key presses for windows","archived":false,"fork":false,"pushed_at":"2017-11-10T15:39:24.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-24T01:44:45.625Z","etag":null,"topics":["python","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ron-popov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-13T16:07:32.000Z","updated_at":"2020-12-07T05:51:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cae9060-d63b-4002-a44c-cb430a37c421","html_url":"https://github.com/ron-popov/Python-Input-Library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ron-popov/Python-Input-Library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ron-popov%2FPython-Input-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ron-popov%2FPython-Input-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ron-popov%2FPython-Input-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ron-popov%2FPython-Input-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ron-popov","download_url":"https://codeload.github.com/ron-popov/Python-Input-Library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ron-popov%2FPython-Input-Library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","simulation"],"created_at":"2024-10-14T00:08:47.599Z","updated_at":"2026-05-16T13:02:34.131Z","avatar_url":"https://github.com/ron-popov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Input Library\r\nA library that allowes to simulate windows key presses.  \r\nThe library consists of 3 sections, each one has different methods that do different things.\r\nIn this document i will list the methods that each one of the 3 files contains, their description,\r\nthe parameters you should pass them and also their return value.\r\n\r\n# utils\r\n### GetMonitorRes\r\nDescription : Returns the resolution of your monitor. Not tested for multiple monitor setups.  \r\nParameters : None.  \r\nReturn value : Tuple of length 2, first element represents width and second element represents height.  \r\n\r\n### Delay\r\nDescription : Delays the program for a certain amount of time.  \r\nParameters : The number of seconds to delay the program. Doesn't have to be a whole number.  \r\nReturn value : None.  \r\n\r\n---\r\n\r\n# keyboard\r\nThe keyboard file contains methods that interact with the keyboard.\r\n\r\n### HoldKey\r\nDescription : Starts pressing a certain key.  \r\nParameters : A hexadecimal key code of the wanted key. A list of key hexadecimal key codes can be found [here](https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx?f=255).  \r\nReturn value : None.  \r\n\r\n### ReleaseKey\r\nDescription : Releases a certain key.  \r\nParameters : A hexadecimal key code of the wanted key. A list of key hexadecimal key codes can be found [here](https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx?f=255).  \r\nReturn value : None.  \r\n\r\n---\r\n\r\n# mouse\r\nThe mouse file contains method that interact with the mouse.\r\n\r\n### GetMousePos\r\nDescription : Returns the position of the mouse.  \r\nParameters : None.  \r\nReturn value :\r\n* The mouse x location.\r\n* The mouse y location.\r\n\r\n### SetMousePos\r\nDescription : Changes the mouse location  \r\nParameters :\r\n* The desired x location.  \r\n* The desired y location.  \r\n\r\nReturn value: None.  \r\n\r\n### HoldRightButton\r\nDescription : Starts pressing the right mouse button  \r\nParameters : None.  \r\nReturn value : None.  \r\n\r\n### HoldLeftButton\r\nDescription : Starts pressing the left mouse button  \r\nParameters : None.  \r\nReturn value : None. \r\n \r\n### ReleaseRightButton\r\nDescription : Stops pressing the right mouse button  \r\nParameters : None.  \r\nReturn value : None.  \r\n\r\n### ReleaseLeftButton\r\nDescription : Stops pressing the left mouse button  \r\nParameters : None.  \r\nReturn value : None.  \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fron-popov%2Fpython-input-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fron-popov%2Fpython-input-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fron-popov%2Fpython-input-library/lists"}