Python wrapper for the Java Native Interface (ctypes/cffi-based javabridge)
Project description
Currently only as placeholder (because a base package jtypes.jvm is still in development)
jtypes.javabridge
Python wrapper for the Java Native Interface.
Overview
jtypes.javabridge is a bridge between Python and Java, allowing these to intercommunicate.It is an effort to allow python programs full access to Java class libraries.jtypes.javabridge is a lightweight Python package, based on the ctypes or cffi library.It is an almost fully compliant implementation of Lee Kamentsky’s and Vebjorn Ljosa’s Javabridge package by reimplementing whole its functionality in a clean Python instead of Cython and C.
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.
Requirements
Java Runtime (JRE) or Java Development Kit (JDK), and NumPy (not mandatory but highly recommended).
Installation
Prerequisites:
Python 2.7 or higher or 3.4 or higher
2.7 and 3.6 are primary test environments.
pip and setuptools
To install run:
python -m pip install --upgrade jtypes.javabridge
To ensure everything is running correctly you can run the tests using:
python -m jt.javabridge.tests
Development
Visit development page
Installation from sources:
Clone the sources and run:
python -m pip install ./jtypes.javabridge
or on development mode:
python -m pip install --editable ./jtypes.javabridge
Prerequisites:
Development is strictly based on tox. To install it run:
python -m pip install tox
License
Copyright (c) 2014-2018, Adam KarpierzLicensed under the BSD licensePlease refer to the accompanying LICENSE file.
Changelog
1.0.18b3 (2018-11-08)
Update of the required setuptools version.
Minor setup and tests improvements.
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
File details
Details for the file jtypes.javabridge-1.0.18b3.zip
.
File metadata
- Download URL: jtypes.javabridge-1.0.18b3.zip
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be52607b7af08b895ba1e9d6ace61026037253fc5d1cea01370ea7c04598782 |
|
MD5 | 71622bef5a225e6c824576f78bafcdf6 |
|
BLAKE2b-256 | c2a80c461a94a98bfdbe7c456ea5828a48bab4cdb0e5887d598be47ebe41d5a7 |