{"id":22707114,"url":"https://github.com/cair/pyvnc","last_synced_at":"2025-04-13T12:30:21.670Z","repository":{"id":82388670,"uuid":"100529269","full_name":"cair/pyVNC","owner":"cair","description":"VNC Client Library for Python","archived":false,"fork":false,"pushed_at":"2023-03-03T03:32:29.000Z","size":60,"stargazers_count":104,"open_issues_count":8,"forks_count":35,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T03:35:11.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cair.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-08-16T20:19:57.000Z","updated_at":"2025-03-03T02:36:06.000Z","dependencies_parsed_at":"2023-06-15T11:31:11.708Z","dependency_job_id":null,"html_url":"https://github.com/cair/pyVNC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FpyVNC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FpyVNC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FpyVNC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FpyVNC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cair","download_url":"https://codeload.github.com/cair/pyVNC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248714189,"owners_count":21149845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-10T10:11:32.823Z","updated_at":"2025-04-13T12:30:21.634Z","avatar_url":"https://github.com/cair.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyVNC\npyVNC Client is a client library for interacting programatically (and physically) with a VNC session.\npyVNC Client that is built with\n[Twisted-Python](https://twistedmatrix.com/trac/) and\n[PyGame](http://www.pygame.org/).\n\nThe client supports the following encodings: `Hextile, CoRRE, RRE, RAW, CopyRect`\n\npyVNC is tested for `Python \u003e= 3.5`\n\n#Usage\n\n## Example 1\n```py\n vnc = VNCClient(host=\"127.0.0.1\",\n                 password=None, \n                 port=5902,\n                 depth=32,\n                 fast=False,\n                 shared=True) # Default parameters\n                 \n vnc.start()    # Starts the vnc client (Threaded)\n \n vnc.send_key(\"a\") # Sends the key \"a\"\n vnc.send_mouse(\"Left\", (200, 200)) # Left Clicks at x=200, y=200\n vnc.send_mouse(\"Right\", (200, 200)) # Right Clicks at x=200, y=200\n vnc.get_screen() # Get a array representation of the screen shape: (?, ?, 3)\n vnc.join() # Exit\n``` \n\n## Parameters\n`pyVNC.py --host=127.0.0.1 --password=None --depth=32 --fast=False, shared=False`\n\n# What is it good for?\npyVNC is excellent for automating tasks inside a VNC session.\n\n# References:\n- http://homepage.hispeed.ch/py430/python/\n- http://code.google.com/p/vnc2flv/\n- http://arkaitzj.wordpress.com/2011/11/12/vnc-in-your-browser-through-websockets-handled-by-gevent/\n- http://sibson.github.io/vncdotool/\n- http://www.python.org\n- http://twistedmatrix.com/\n- http://www.pygame.org\n- http://www.realvnc.org\n\n## Copyright Notice\nThanks to the original authors for providing an excellent implemenation of the VNC protocol in python.\nThis project would not have been possible with their work:\n- (c) 2003 chris \u003ccliechti@gmx.net\u003e\n- (c) 2009 techtonik \u003ctechtonik@gmail.com\u003e\n\nAnd pyVNC author:\n- (c) 2017 Per-Arne Andersen \u003cper@sysx.no\u003e\n\nReleased under the MIT License.\n\nYou're free to use it for commercial and noncommercial\napplication, modify and redistribute it as long as the\ncopyright notices are intact. There are no warranties, not\neven that it does what it says to do ;-)\n\n\n## Changes\n16.08.17 - Forked and reworked as a client library","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcair%2Fpyvnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcair%2Fpyvnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcair%2Fpyvnc/lists"}