Skip to main content
Pre-release

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

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.

PyPI record.

Documentation.

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

Requirements

  • ATTENTION: currently works and tested only for Windows.

Installation

Prerequisites:

To install run:

python -m pip install --upgrade jni

Development

Prerequisites:

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

    python -m pip install --upgrade nox

Visit Development page.

Installation from sources:

clone the sources:

git clone https://github.com/karpierz/jni jni

and run:

python -m pip install ./jni

or on development mode:

python -m pip install --editable ./jni

License

Copyright (c) 2004-2026 Adam Karpierz
Licensed under CC BY-NC-ND 4.0
Licensed under proprietary License
Please refer to the accompanying LICENSE file.

Authors

Sponsoring

If you would like to sponsor the development of this project, your contribution is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and improving this work.

Donate

Metadata

Release files for jni 1.3.0b7

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

Source distribution (sdist)

Source distribution for jni 1.3.0b7
File Size Uploaded Provenance Actions
jni-1.3.0b7.tar.gz 249.1 kB Without provenance Details for jni-1.3.0b7.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for jni 1.3.0b7
File Actions
jni-1.3.0b7-pp312-pypy312_pp80-win_amd64.whl PyPy 3.12 PyPy 3.12 8.0 Windows x86-64 Details for jni-1.3.0b7-pp312-pypy312_pp80-win_amd64.whl
jni-1.3.0b7-pp311-pypy311_pp80-win_amd64.whl PyPy 3.11 PyPy 3.11 8.0 Windows x86-64 Details for jni-1.3.0b7-pp311-pypy311_pp80-win_amd64.whl
jni-1.3.0b7-graalpy313-graalpy253_313_native-win_amd64.whl graalpy313 graalpy253 313 native Windows x86-64 Details for jni-1.3.0b7-graalpy313-graalpy253_313_native-win_amd64.whl
jni-1.3.0b7-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for jni-1.3.0b7-cp315-cp315-win_amd64.whl
jni-1.3.0b7-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for jni-1.3.0b7-cp314-cp314-win_amd64.whl
jni-1.3.0b7-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for jni-1.3.0b7-cp313-cp313-win_amd64.whl
jni-1.3.0b7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for jni-1.3.0b7-cp312-cp312-win_amd64.whl
jni-1.3.0b7-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for jni-1.3.0b7-cp311-cp311-win_amd64.whl

Total release size: 1.7 MB

Release files / jni-1.3.0b7.tar.gz

Download URL jni-1.3.0b7.tar.gz
Size 249.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3da1e2bd6a2ff6082458c02fb7395b7a6d954ade2fd59b671cba207e0edbbe27
BLAKE2b-256 checksum
How to use checksums
68723aa9ba871e77eefff0abc28aeb0032d4f6fc742b45875029719c73e40ee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-pp312-pypy312_pp80-win_amd64.whl

Download URL jni-1.3.0b7-pp312-pypy312_pp80-win_amd64.whl
Size 156.0 kB
Tags PyPy 3.12 PyPy 3.12 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
bfa7d5a82ea3b38d2812d6f5a9788b92bc318c14d046f92122664bf838ae4d46
BLAKE2b-256 checksum
How to use checksums
92f30c0fbb1bf51eead0d1b492f11f88f801ec5a2b8f6b245a16f2c64a16b4eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-pp311-pypy311_pp80-win_amd64.whl

Download URL jni-1.3.0b7-pp311-pypy311_pp80-win_amd64.whl
Size 155.5 kB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
a31f586450390184c7fafe6e30e54c0134af6bc04023d94b8e17c60361a08a7a
BLAKE2b-256 checksum
How to use checksums
3154c054129469347d98970c49de8d37775f3915b702516131464c95785ec1bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-graalpy313-graalpy253_313_native-win_amd64.whl

Download URL jni-1.3.0b7-graalpy313-graalpy253_313_native-win_amd64.whl
Size 343.9 kB
Tags Windows x86-64 graalpy253 313 native graalpy313
SHA-256 checksum
How to use checksums
62e52318982f4abb9cff603e6fc6ecc7b539031babd8fd5a5d352c1bc5f807ef
BLAKE2b-256 checksum
How to use checksums
c46769ef9636e0a4d532f67168a7bb340e3a2df250afd2f6e779af9ac05efdbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-cp315-cp315-win_amd64.whl

Download URL jni-1.3.0b7-cp315-cp315-win_amd64.whl
Size 164.2 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
9613abad03af43c3f4354f049ec812bfb1ed456bc2fe5cfbb4fcb07a508ae03a
BLAKE2b-256 checksum
How to use checksums
e753a30ea76c62b74777b94bf62a565e4fa8e662d31e76d9cca1ab2a7259795d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-cp314-cp314-win_amd64.whl

Download URL jni-1.3.0b7-cp314-cp314-win_amd64.whl
Size 161.3 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ed29e39659c050ac13202615453d0e469765827963f3054b6e575b8c96874b5b
BLAKE2b-256 checksum
How to use checksums
7008322445cc51b358c3679a3219be83eb60a2050a87ac90230698c3546d797f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-cp313-cp313-win_amd64.whl

Download URL jni-1.3.0b7-cp313-cp313-win_amd64.whl
Size 146.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f7c0cafcceff5f2fe3fe5626ebbfa89dbac197e20f7930663dd0e3f091eafc7a
BLAKE2b-256 checksum
How to use checksums
6fdcde16cc9dba9c2cb1d2c7589585b10a0385127d556237f3de3a027d36b51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-cp312-cp312-win_amd64.whl

Download URL jni-1.3.0b7-cp312-cp312-win_amd64.whl
Size 146.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
12f912922608db4f04102683d8343c18b485dfa065928858ca5281ca77fc3f49
BLAKE2b-256 checksum
How to use checksums
5db993b0f268e75c2ff74a9e5eebcf2ce4bb0eec3ff0699e150fbd8bbd8c2486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jni-1.3.0b7-cp311-cp311-win_amd64.whl

Download URL jni-1.3.0b7-cp311-cp311-win_amd64.whl
Size 152.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2182bfc0f8ff69d35abc3c55db2c7b55f195a16e32cfb4194b836aea3ddcdbc4
BLAKE2b-256 checksum
How to use checksums
8da6fb07987e394ea1e9970bd4345b4adf828f2afbaa4c28d7816a9b46db557f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jni 1.3.0b7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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