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

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.2
File Size Uploaded
jab_rpa-0.1.2.tar.gz 449.7 kB Details

Built distribution (wheel)

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

Total release size: 467.1 kB

Release files / jab_rpa-0.1.2.tar.gz

Download URL jab_rpa-0.1.2.tar.gz
Size 449.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e97d8584416d89e829a435d9af60fe880ac1df88b8bfb69a6a325cf6fc889603
BLAKE2b-256 checksum
How to use checksums
6c5f473ec5579c8ed6a5bc635b9cd7caf0ec7cc7e00589dad5d867ef6ace7b7c
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.2-py3-none-any.whl

Download URL jab_rpa-0.1.2-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bcbb5ce3912b534fb2757d244c3b65b8c30c3da4a46a6a794d2ea43974d8653
BLAKE2b-256 checksum
How to use checksums
cdcc37643b7a774a88b7dab24d39ca948f0bbf786c0e02d61ca1643a2643ae91
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

This release

0.1.2 This release

2 release files

0.1.1

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