{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"PyJNIus lets Python code call Java classes and methods directly using the Java Native Interface (JNI), enabling interoperability between Python and Java on desktop and mobile platforms.","skillfed_tags":["java-interop","jni-bridge","android-kivy"],"use_cases":["Access Android hardware sensors and APIs from a Python mobile app built with Kivy.","Call Java utility classes and data structures from Python without rewriting them.","Integrate Python scripts with existing Java libraries or legacy Java codebases on desktop systems.","Build cross-platform mobile apps where Python handles UI logic and Java handles platform-specific functionality.","Prototype or automate Java applications by scripting them from Python."],"what_it_does":"PyJNIus is a Python library that bridges Python and Java by exposing Java classes and methods to Python code via the Java Native Interface (JNI). It lets you instantiate Java objects, call methods, access fields, and work with Java data types directly from Python\u2014all without writing native C code yourself. The library is managed by the Kivy team and works on desktop (macOS, Linux, Windows) and mobile (Android) platforms.\n\nYou can use it two ways: with autoclass() for dynamic discovery of all Java class members, or by manually declaring JavaClass subclasses with specific methods and fields for finer control. It's commonly used in Kivy mobile apps to access Android hardware and in desktop applications that need to leverage existing Java libraries or interact with the JVM.","worth_installing":"Yes, if you need Python\u2013Java interoperability. PyJNIus is actively maintained, MIT-licensed, widely used, has no known vulnerabilities, and ships pre-built wheels for modern Python versions. The main requirement is having a JDK installed and configured\u2014a one-time setup cost. Install it if you're building a Kivy mobile app, integrating Python with Java libraries, or automating JVM-based systems."},"id":"pyjnius","links":{"html":"https://skillfed.io/packages/pyjnius","md":"https://skillfed.io/packages/pyjnius.md","pypi":"https://pypi.org/project/pyjnius/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-08","license_spdx":null,"license_treatment":"permissive","name":"pyjnius","python_support":"unspecified","summary":"A Python library for accessing access Java classes as using the Java Native Interface (JNI)."},"popularity":{"monthly_downloads":295263,"position":7927,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.7.0"}
