Skip to main content

jab-rpa

This project is a solution to a problem I had:

  1. Automate processes that use a 32-bit Java desktop app
  2. Do that, necessarily, from a 64-bit Python runtime

(1) means the existing tooling (like robocorp's excellent rpaframework.RPA.JavaAccessBridge) does not work properly.

(2) means, whatever the solution, it will involve some kind of IPC. My tool of choice for this was gRPC.

This project exposes a fairly ergonomic Python API for developing RPA workflows against Java desktop applications. The server includes multi-JVM support (32-bit and 64-bit, Java 8 through 25) and a selector engine with CSS-like syntax.

Quickstart

  1. Install from PyPI with the Java version extra:

    pip install jab-rpa[java8]      # Java 8 (proven in production)
    pip install jab-rpa[java17]     # Java 17
    # etc.
    
  2. Use it:

from jab_rpa import JabDriver

with JabDriver("My Java Application.*") as driver:
    button = driver.locator("push_button[name='Clear']")
    button.click()

See the full documentation for details.

Disclaimer

This package runs only on Windows, and supports both 32-bit and 64-bit JVMs. If you exclusively target 64-bit JVMs, rpaframework.RPA.JavaAccessBridge is a more mature option.

Note: Only Java 8 has been proven to work reliably in production. Java 11, 17, 21 and 25 are supported experimentally.

Bug reports, issues, discussions and contributions are always welcome.

Metadata

Release files for jab-rpa 0.1.0

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 jab-rpa 0.1.0
File Interpreter ABI Platform
jab_rpa-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / jab_rpa-0.1.0-py3-none-any.whl

Download URL jab_rpa-0.1.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd6d4d7eeee1c1998b423b72cf3eead9ae7701018dae11bc87aef1d927d0be5a
BLAKE2b-256 checksum
How to use checksums
b94056b91a908e0574344cf70a166e8b36dbd11954f6016c452cd3c592a5e6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

1 release 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