All Projects → ninia → Jep

ninia / Jep

Licence: other
Embed Python in Java

Programming Languages

python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language
c
50402 projects - #5 most used programming language
cpython
15 projects

Labels

Projects that are alternatives of or similar to Jep

android-opus-codec
Implementation of Opus encoder and decoder in C++ for android with JNI
Stars: ✭ 44 (-94.2%)
Mutual labels:  jni
Javacpp
The missing bridge between Java and native C++
Stars: ✭ 3,703 (+387.88%)
Mutual labels:  jni
Jni Rs
Rust bindings to the Java Native Interface — JNI
Stars: ✭ 456 (-39.92%)
Mutual labels:  jni
JavaCAN
A simple JNI wrapper for the socketcan API provided by the Linux kernel. As it is wrapping a Linux Kernel API, it is intended for use on Linux only.
Stars: ✭ 23 (-96.97%)
Mutual labels:  jni
Androidp7zip
An Android compress and extract library support popular compression format such as rar, zip, tar, lzma. based on p7zip.
Stars: ✭ 289 (-61.92%)
Mutual labels:  jni
Aparapi
The New Official Aparapi: a framework for executing native Java and Scala code on the GPU.
Stars: ✭ 352 (-53.62%)
Mutual labels:  jni
jni-bindgen
Generate Rust JVM FFI wrappers around APIs defined by .jar or .class files, because maintaining your own hand-written bindings is an exercise in boredom, soundness bugs, and pain.
Stars: ✭ 55 (-92.75%)
Mutual labels:  jni
Dart native
Write iOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.
Stars: ✭ 564 (-25.69%)
Mutual labels:  jni
Jni.hpp
A modern, type-safe, header-only, C++14 wrapper for JNI
Stars: ✭ 313 (-58.76%)
Mutual labels:  jni
Fmj
FMJ (FFMpeg for Java)。通过Java调用FFMpeg命令的方式来对音视频进行处理(获取信息、截图等等)。
Stars: ✭ 379 (-50.07%)
Mutual labels:  jni
Jni4android
JNI Generater for Android
Stars: ✭ 261 (-65.61%)
Mutual labels:  jni
Jnioor
基于C++模板函数与Fluent API设计的JNI反射库,极大的简化JNI反射调用,提高JNI开发效率与稳定性
Stars: ✭ 278 (-63.37%)
Mutual labels:  jni
Android Api Securekeys
Store data in a simple and secure way
Stars: ✭ 372 (-50.99%)
Mutual labels:  jni
SecurityDemo
ndk进行简单的签名校验,密钥保护demo,android应用签名校验
Stars: ✭ 22 (-97.1%)
Mutual labels:  jni
Flapigen Rs
Tool for connecting programs or libraries written in Rust with other languages
Stars: ✭ 473 (-37.68%)
Mutual labels:  jni
sbt-jni
SBT Plugin to ease working with JNI
Stars: ✭ 110 (-85.51%)
Mutual labels:  jni
React Native Mmkv
⚡️ An extremely fast key/value storage library for React Native. ~30x faster than AsyncStorage!
Stars: ✭ 316 (-58.37%)
Mutual labels:  jni
Jpype
JPype is cross language bridge to allow python programs full access to java class libraries.
Stars: ✭ 685 (-9.75%)
Mutual labels:  jni
Jnitrace
A Frida based tool that traces usage of the JNI API in Android apps.
Stars: ✭ 534 (-29.64%)
Mutual labels:  jni
Keepalive
Fighting against force-stop kill process on Android with binder ioctl / Android高级保活
Stars: ✭ 376 (-50.46%)
Mutual labels:  jni

.. image:: https://img.shields.io/pypi/pyversions/Jep.svg :target: https://pypi.python.org/pypi/jep

.. image:: https://img.shields.io/pypi/l/Jep.svg :target: https://pypi.python.org/pypi/jep

.. image:: https://img.shields.io/pypi/v/Jep.svg :target: https://pypi.python.org/pypi/jep

.. image:: https://img.shields.io/badge/docs-wiki-orange.svg :target: https://github.com/ninia/jep/wiki

.. image:: https://img.shields.io/badge/docs-javadoc-orange.svg :target: https://ninia.github.io/jep/javadoc

Jep - Java Embedded Python

Jep embeds CPython in Java through JNI.

Some benefits of embedding CPython in a JVM:

  • Using the native Python interpreter may be much faster than alternatives.

  • Python is mature, well supported, and well documented.

  • Access to high quality Python modules, both native CPython extensions and Python-based.

  • Compilers and assorted Python tools are as mature as the language.

  • Python is an interpreted language, enabling scripting of established Java code without requiring recompilation.

  • Both Java and Python are cross platform, enabling deployment to different operating systems.

Installation

Simply run pip install jep or download the source and run python setup.py build install. Building and installing require the JDK, Python, and optionally numpy to be installed beforehand.

Dependencies

  • Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, or 3.9
  • Java >= 1.7
  • NumPy >= 1.7 (optional)

Notable features

  • Interactive Jep console much like Python's interactive console
  • Supports multiple, simultaneous, mostly sandboxed sub-interpreters or shared interpreters
  • Numpy support for Java primitive arrays

Help

  • Documentation <https://github.com/ninia/jep/wiki>_
  • JavaDoc <https://ninia.github.io/jep/javadoc>_
  • Mailing List <https://groups.google.com/d/forum/jep-project>_
  • Known Issues <https://github.com/ninia/jep/issues>_
  • Contribution Guidelines <https://github.com/ninia/jep/blob/master/.github/CONTRIBUTING.md>_
  • Project Page <https://github.com/ninia/jep>_

We welcome comments, contributions, bug reports, wiki documentation, etc.

Jep Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].