Python bridge for the Java Native Interface.
Project description
jni
Python bridge for the Java Native Interface.
Overview
jni is a complete bridge between Python and Java JNI.It is an effort to allow python programs full access to Java JNI API.jni is a lightweight Python package, based on the ctypes, or cffi library, or Cython wrapper (currently under development).It is done by implementing whole JNI API functionality in a clean Python instead of C/C++.jni also contains a JNI wrapper in pure C based on Python C-API (currently under development) - mainly for performance reasons.
What is jni:
jni is an effort to allow python programs full access to Java JNI API. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both virtual machines.
- Known Bugs/Limitations :
Because of lack of JVM support, you cannot shutdown the JVM and then restart it.
Installation
Prerequisites:
Python 3.6 or higher
3.7 is a primary test environment.
pip and setuptools
To install run:
python -m pip install --upgrade jni
To ensure everything is running correctly you can run the tests using:
python -m jni.tests
License
Copyright (c) 2004-2020 Adam KarpierzLicensed under CC BY-NC-ND 4.0Licensed under proprietary LicensePlease refer to the accompanying LICENSE file.
Changelog
1.0.0b7 (2020-03-08)
Drop support for Python2.
Update of license info.
Setup update.
1.0.0b4 (2019-07-10)
Last release for Python2.
1.0.0b3 (2018-05-22)
Update of the required setuptools version.
1.0.0b2 (2018-02-26)
Improvement and simplification of setup and packaging.
1.0.0b1 (2017-11-18)
First ‘official’ version.
0.1.1 (2005-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 jni-1.0.0b7.zip
.
File metadata
- Download URL: jni-1.0.0b7.zip
- Upload date:
- Size: 190.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.7rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86454573da1bff2dc05cb450610bbf6009f073588556663de7b557f8c36b7e7 |
|
MD5 | e24f4824137f7c28e44be5d6ec8fdbf0 |
|
BLAKE2b-256 | eb8675bec5cd922791daabc7e4b400c2c55c4025741d580af41d470d02945435 |