Running and interacting with the JVM from Python (ctypes/cffi-based javabridge).
Project description
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.
About javabridge:
Borrowed from the original website:
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:
Python 3.9 or higher
Java 11 is a primary test environment.
pip and setuptools
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 KarpierzLicensed under the BSD licensePlease refer to the accompanying LICENSE file.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jtypes_javabridge-4.0.4b1.zip
.
File metadata
- Download URL: jtypes_javabridge-4.0.4b1.zip
- Upload date:
- Size: 494.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32275be0c384174e76c9f75930d9140104155818239aba37c854ee28dfe6a46 |
|
MD5 | db21b1d3f4eaee57db63f43e44c8a5e4 |
|
BLAKE2b-256 | d9c8a693ded5692ba8d0d2256b6dbb0533a6f1b846919be60bc9ec5fe0841cf9 |
File details
Details for the file jtypes.javabridge-4.0.4b1-py3-none-any.whl
.
File metadata
- Download URL: jtypes.javabridge-4.0.4b1-py3-none-any.whl
- Upload date:
- Size: 55.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82df5e5e7b05f906d36a31d82c6514adbad26cf930ae850ec1fd8ebe41e7ae12 |
|
MD5 | fc83755b27596e1670618132f83ba14d |
|
BLAKE2b-256 | b02a3f1ff5b49c2a7e42aace6d93f09df7f3757cc330094a1a230704f40297d5 |