Registry / http-networking / asyncvnc

asyncvnc

JSON →
library1.3.0pypypi✓ verified 80d ago

asyncvnc is an asynchronous VNC client library for Python, built on top of asyncio. It provides a high-level interface for VNC connections with full RFB protocol support. The current version is 1.3.0, supporting Python 3.7+. The project is actively maintained with sporadic releases.

pip install asyncvnc
INSTALL
IMPORT
SIG · ASYNCVNC
A
asyncvnc
http-networkingpythonv1.3.0
Install
4.6s avg
Import
Disk
106MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 106.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.6s · import 0.000s · 102MB
106MB installed
● package 106MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from asyncvnc import Client
from asyncvnc import VNCClient

Connect to a VNC server, capture a screenshot, and close.

import asyncio from asyncvnc import VNCClient async def main(): async with VNCClient(host='localhost', port=5900, password='secret') as client: screenshot = await client.screenshot() print('Screenshot captured') if __name__ == '__main__': asyncio.run(main())
Debug
Known issues
gotchaThe library requires an event loop to be running (asyncio). Using synchronous code will fail.
fix
Ensure all calls are within an async function and run with asyncio.run() or similar.
affects: all
gotchaThe 'screenshot()' method returns a PIL Image object (Pillow must be installed).
fix
Install Pillow: pip install Pillow
affects: >=1.2.0
deprecatedThe old import path 'asyncvnc.client' may not work in future versions; use 'from asyncvnc import VNCClient'.
fix
Update import to 'from asyncvnc import VNCClient'.
affects: >=1.0.0
Upgrade
Version history
1.3.0latest on PyPI · released Feb 26, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources