MyGit

ninia/jep

Fork: 150 Star: 1322 (更新于 2024-10-30 03:18:33)

license: NOASSERTION

Language: C .

Embed Python in Java

最后发布版本: v4.2.0 ( 2023-12-16 23:19:33)

GitHub网址

.. 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 pip install .. Building and installing require the JDK, Python, and optionally numpy to be installed beforehand.

Dependencies

  • Python >= 3.6
  • Java >= 1.8
  • 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 (deprecated) <https://groups.google.com/d/forum/jep-project>_
  • Known Issues and Help <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.

If you need help, please first search for existing solutions online, in the the issues, and on the wiki. If you still need help, please open a GitHub issue and we will try and help you. Please remember to close the issue once it has been resolved.

Jep Team

最近版本更新:(数据更新于 2024-09-10 18:45:09)

2023-12-16 23:19:33 v4.2.0

2022-12-28 03:55:26 v4.1.1

2022-10-26 10:43:15 v4.1.0

2022-03-21 02:06:39 v4.0.3

2022-02-14 00:25:51 v4.0.2

2021-12-31 06:35:14 v4.0.1

2021-09-11 22:03:16 v4.0.0

2020-10-04 23:27:00 v3.9.1

2019-08-30 07:15:57 v3.9.0

2018-08-11 01:30:41 v3.8.2

主题(topics):

c, cpython, java, jni, python

ninia/jep同语言 C最近更新仓库

2024-11-05 10:48:49 EdgeTX/edgetx

2024-11-04 17:16:21 redis/redis

2024-10-31 09:06:25 Spooks4576/Ghost_ESP

2024-10-21 23:21:37 pbatard/rufus

2024-10-19 07:55:53 EpicGamesExt/raddebugger

2024-10-15 20:35:06 Mbed-TLS/mbedtls