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

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

Source distribution (sdist)

Source distribution for jab-rpa 0.1.1
File Size Uploaded
jab_rpa-0.1.1.tar.gz 449.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jab-rpa 0.1.1
File Interpreter ABI Platform
jab_rpa-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 466.9 kB

Release files / jab_rpa-0.1.1.tar.gz

Download URL jab_rpa-0.1.1.tar.gz
Size 449.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b1afc141c6cc241a0b2ee9881739f649420e49d1344e6df924612953262cd06e
BLAKE2b-256 checksum
How to use checksums
ea18388f60421cd1c0b726a3035a33be58743153a41dac1a7aba8ab25306b586
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 files / jab_rpa-0.1.1-py3-none-any.whl

Download URL jab_rpa-0.1.1-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
749fce9b65fc53c9921b72d608e1fe4a7e5604dbe8c86bd500a17a4ee6490239
BLAKE2b-256 checksum
How to use checksums
c7f950a734b41102892cfb1cee922b8ba125dad75fd1f370552fccf457665634
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

This release

0.1.1 This release

2 release files

0.1.0

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