Hardware-accelerated Linux virtual desktop.
Project description
Bounce Desktop
Bounce desktop is a Python library for running subprocesses in hardware accelerated virtual desktops and for interacting with those desktops. It's built to provide isolated desktops for compute-use agents as a part of my BounceRL project.
Getting Started
Install the bounce_desktop package, then use the desktop as:
from bounce_desktop import WaylandDesktop
desktop = WaylandDesktop("/path/to/my/app", resolution=(640, 480), visible=False)
# Wait for desktop to be ready. Desktop.get_frame() throws RuntimeErrors
# if you call it before the compositor is ready.
...
desktop.move_mouse_to(200, 200)
desktop.mouse_press(button=1)
desktop.mouse_release(button=1)
...
The Desktop interface is described in desktopy.py and the constructor for WaylandDesktop is documented in wayland_desktop.py
System Dependencies
This package depends on labwc and wlr-randr.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bounce_desktop-0.4.5-py3-none-any.whl.
File metadata
- Download URL: bounce_desktop-0.4.5-py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9b8079ee6bc5c02f663b1123014f54d36f6f427f99181a9c0145d35a31e02d6
|
|
| MD5 |
670267d8b41749f4056df890ad6fc51d
|
|
| BLAKE2b-256 |
3ba97df520d9d2d57d36a4a51e0eea810b1a6f70041fae20058857a3c7e41baf
|