GitHub - ninia/jep: Embed Python in Java · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
ninia
jep
Public
Notifications<br>You must be signed in to change notification settings
Fork<br>166
Star<br>1.5k
master
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>1,464 Commits<br>1,464 Commits
.github
.github
commands
commands
release_notes
release_notes
src
src
.gitignore
.gitignore
AUTHORS
AUTHORS
LICENSE
LICENSE
MANIFEST.in
MANIFEST.in
README.rst
README.rst
appveyor.yml
appveyor.yml
pom.xml
pom.xml
pyproject.toml
pyproject.toml
setup.py
setup.py
View all files
Repository files navigation
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<br>alternatives.
Python is mature, well supported, and well documented.
Access to high quality Python modules, both native CPython<br>extensions and Python-based.
Compilers and assorted Python tools are as mature as the language.
Python is an interpreted language, enabling scripting of established<br>Java code without requiring recompilation.
Both Java and Python are cross platform, enabling deployment to<br>different operating systems.
Installation
Simply run pip install jep or download the source and run<br>pip install .. Building and installing require the JDK and Python,<br>to be installed beforehand. Pip will need to be able to install setuptools<br>and numpy to build jep.
Dependencies
Python >= 3.10
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
JavaDoc
Mailing List (deprecated)
Known Issues and Help
Contribution Guidelines
Project Page
We welcome comments, contributions, bug reports, wiki documentation, etc.
If you need help, please first search for existing solutions online, in the<br>the issues, and on the wiki. If you still need help, please open a GitHub issue<br>and we will try and help you. Please remember to close the issue once it has<br>been resolved.
Jep Team
About
Embed Python in Java
Topics
python
java
cpython
jni
Resources
Readme
License
View license
Contributing
Contributing
Uh oh!
There was an error while loading. Please reload this page.
Activity
Custom properties
Stars
1.5k<br>stars
Watchers
52<br>watching
Forks
166<br>forks
Report repository
Releases<br>15
Jep 4.3.1
Latest
Nov 4, 2025
+ 14 releases
Packages
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
52.1%
Java<br>30.2%
Python<br>17.7%
You can’t perform that action at this time.