Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

jtypes.javabridge

Python wrapper for the Java Native Interface.

Overview

The jtypes.javabridge package makes it easy to start a Java virtual machine (JVM) from Python and interact with it. Python code can interact with the JVM using a low-level API or a more convenient high-level API.

PyPI record.

Documentation.

jtypes.javabridge is an almost fully compliant implementation of Lee Kamentsky’s and Vebjorn Ljosa’s good known Javabridge package by reimplementing whole its functionality in a clean Python instead of Cython and C.
jtypes.javabridge package is closely based on the jvm and jni Python packages.

About javabridge:

Borrowed from the original website:

The javabridge Python package makes it easy to start a Java virtual machine (JVM) from Python and interact with it.
Python code can interact with the JVM using a low-level API or a more convenient high-level API.

The javabridge was developed for and is used by the cell image analysis software CellProfiler together with python-bioformats to interface to various Java code, including Bio-Formats and ImageJ.

Requirements

  • Java Runtime (JRE) or Java Development Kit (JDK), and NumPy (not mandatory but highly recommended).

Installation

Prerequisites:

To install run:

python -m pip install --upgrade jtypes.javabridge

Development

Prerequisites:

  • Development is strictly based on tox. To install it run:

    python -m pip install --upgrade tox

Visit Development page.

Installation from sources:

clone the sources:

git clone https://github.com/karpierz/jtypes.javabridge.git jtypes.javabridge

and run:

python -m pip install ./jtypes.javabridge

or on development mode:

python -m pip install --editable ./jtypes.javabridge

License

Copyright (c) 2014-2024, Adam Karpierz
Licensed under the BSD license
Please refer to the accompanying LICENSE file.

Authors

Changelog

4.0.4b1 (2024-11-08)

  • Add support for Python 3.9, 3.10, 3.11, 3.12, 3.13

  • Drop support for Python 3.5, 3.6, 3.7, 3.8

  • Drop support for Python2.

  • Add support for PyPy 3.9 and 3.10

  • Synchro with javabridge master branch (v4.0.4).

  • General update, improvements and cleanup.

  • Update of Mozilla Rhino.

  • Copyright year update.

  • Setup update and improvements.

1.0.18b3 (2018-11-08)

  • Update of the required setuptools version.

  • Minor setup and tests improvements.

  • Last release for Python2.

1.0.18b1 (2018-10-01)

  • Synchro with javabridge master branch (v.1.0.18+).

1.0.17b2 (2018-05-29)

  • Synchro with javabridge master branch.

  • Bug fixes and improvements in Java 9 support.

  • Update of Mozilla Rhino.

  • Update of the required setuptools version.

1.0.14b4 (2018-02-26)

  • Improvement and simplification of setup and packaging.

1.0.14b3 (2018-01-29)

  • Development moved to github.

  • General improvements and update.

1.0.14b2 (2017-01-01)

  • Second beta release.

  • Version numbering in sync. with the original javabridge.

0.1.1a1 (2014-10-05)

  • Initial version.

Release files for jtypes.javabridge 4.0.4b1

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

Source distribution (sdist)

Source distribution for jtypes.javabridge 4.0.4b1
File Size Uploaded
jtypes_javabridge-4.0.4b1.zip 494.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jtypes.javabridge 4.0.4b1
File Interpreter ABI Platform
jtypes.javabridge-4.0.4b1-py3-none-any.whl Python 3 none any Details

Total release size: 549.8 kB

Release files / jtypes_javabridge-4.0.4b1.zip

Download URL jtypes_javabridge-4.0.4b1.zip
Size 494.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e32275be0c384174e76c9f75930d9140104155818239aba37c854ee28dfe6a46
BLAKE2b-256 checksum
How to use checksums
d9c8a693ded5692ba8d0d2256b6dbb0533a6f1b846919be60bc9ec5fe0841cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / jtypes.javabridge-4.0.4b1-py3-none-any.whl

Download URL jtypes.javabridge-4.0.4b1-py3-none-any.whl
Size 55.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82df5e5e7b05f906d36a31d82c6514adbad26cf930ae850ec1fd8ebe41e7ae12
BLAKE2b-256 checksum
How to use checksums
b02a3f1ff5b49c2a7e42aace6d93f09df7f3757cc330094a1a230704f40297d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

4.0.4b1 This release

2 release files

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