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

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.0b8
File Size Uploaded Provenance Actions
jni-1.3.0b8.tar.gz 254.4 kB Without provenance Details for jni-1.3.0b8.tar.gz

Built distributions (wheels)

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

Total release size: 1.7 MB

Release files / jni-1.3.0b8.tar.gz

Download URL jni-1.3.0b8.tar.gz
Size 254.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1bcf098a287a9719f4b5ad626c6c0591c14dc82479de18758c37537fea989e47
BLAKE2b-256 checksum
How to use checksums
b265fb3c3fa0d4521c51ec1b7716c8a72610feb39e7b7884532f021d01fdfa25
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.0b8-pp312-pypy312_pp80-win_amd64.whl

Download URL jni-1.3.0b8-pp312-pypy312_pp80-win_amd64.whl
Size 157.1 kB
Tags PyPy 3.12 PyPy 3.12 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
514e0b9678d2b336c7e69dfebd12621a5770ab313dc6286312550ad7722b4559
BLAKE2b-256 checksum
How to use checksums
e7fb82240fb7030a03d8c17debca86d7403e58ed94af85504624a409195462d5
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.0b8-pp311-pypy311_pp80-win_amd64.whl

Download URL jni-1.3.0b8-pp311-pypy311_pp80-win_amd64.whl
Size 156.6 kB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
e7b71fd911d10f9413f9273b57146cc92b692da4e24533fecc95acaa0f274feb
BLAKE2b-256 checksum
How to use checksums
0176e094507eb75b5297bc25e8bdac477e73b67908c7b8cbaf18be32f6c3095f
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.0b8-graalpy313-graalpy253_313_native-win_amd64.whl

Download URL jni-1.3.0b8-graalpy313-graalpy253_313_native-win_amd64.whl
Size 346.0 kB
Tags Windows x86-64 graalpy253 313 native graalpy313
SHA-256 checksum
How to use checksums
471c7a15c8ca522243277c9785a8a2097f208ca8bd279cc53dbd656c3abc2bb2
BLAKE2b-256 checksum
How to use checksums
be7d948d0c0e19834c8d28a8408f3576aa263e282215e43bfd81fc11bcea4c5f
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.0b8-cp315-cp315-win_amd64.whl

Download URL jni-1.3.0b8-cp315-cp315-win_amd64.whl
Size 165.4 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
a117fdfd4d53075136e6e0619981830e604bad429060176197221b21aafa0464
BLAKE2b-256 checksum
How to use checksums
2e53d8703bd45918d66ad7ac9ce3352008f1faa7e585b33c48143980d112b8bb
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.0b8-cp314-cp314-win_amd64.whl

Download URL jni-1.3.0b8-cp314-cp314-win_amd64.whl
Size 162.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
77caf6c83a2e5ad08341d9da1514feae15c2083b6f0ca7ecb3c1072c03456639
BLAKE2b-256 checksum
How to use checksums
90de17932e018b11d3847f1a33610caf1c95b50c7caa10c714649515a36630d9
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.0b8-cp313-cp313-win_amd64.whl

Download URL jni-1.3.0b8-cp313-cp313-win_amd64.whl
Size 147.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
4fb92f52c2f73e06df4129a5160078bdc13130b3cc43a892b81c1a27cde724bb
BLAKE2b-256 checksum
How to use checksums
5a916e634ac3f985a115519abe98f44131fba3550b6750bdcef803c9d422e76c
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.0b8-cp312-cp312-win_amd64.whl

Download URL jni-1.3.0b8-cp312-cp312-win_amd64.whl
Size 147.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6033a232c4e498adbd8875c659b11fd9665050dd1e64e47c85dd10e508fd6f17
BLAKE2b-256 checksum
How to use checksums
52902b4acf38abfca42c5f52a0300d9c42ef496ece69e414cdfefe700d6e05f1
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.0b8-cp311-cp311-win_amd64.whl

Download URL jni-1.3.0b8-cp311-cp311-win_amd64.whl
Size 153.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e2011f6447b996a4a7d6fdda1a20033b359f866101b0ea78c688f5cc8d1e1a02
BLAKE2b-256 checksum
How to use checksums
5de94a7397ff41b097969eeb69181526311909e6f7562619327765b0cbb58c16
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.0b8

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