Skip to main content

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.

Metadata

Release files for bounce-desktop 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bounce-desktop 0.4.5
File Interpreter ABI Platform Actions
bounce_desktop-0.4.5-py3-none-any.whl Python 3 none any Details for bounce_desktop-0.4.5-py3-none-any.whl

Release files / bounce_desktop-0.4.5-py3-none-any.whl

Download URL bounce_desktop-0.4.5-py3-none-any.whl
Size 62.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9b8079ee6bc5c02f663b1123014f54d36f6f427f99181a9c0145d35a31e02d6
BLAKE2b-256 checksum
How to use checksums
3ba97df520d9d2d57d36a4a51e0eea810b1a6f70041fae20058857a3c7e41baf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for bounce-desktop 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page