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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bounce_desktop-0.4.5-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

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

Hashes for bounce_desktop-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b8079ee6bc5c02f663b1123014f54d36f6f427f99181a9c0145d35a31e02d6
MD5 670267d8b41749f4056df890ad6fc51d
BLAKE2b-256 3ba97df520d9d2d57d36a4a51e0eea810b1a6f70041fae20058857a3c7e41baf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.5 This release

1 file

0.4.4

1 file

0.4.3

1 file

0.3.0

5 files

0.2.2

3 files

0.2.1

1 file

0.2.0

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0.0.2

1 file

0.0.1

1 file

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