Skip navigation links
A C D E G H I J M N P R S T U 

A

addIncludePaths(String...) - Method in class jep.JepConfig
Adds a path of directories separated by File.pathSeparator that will be appended to the sub-intepreter's sys.path
addSharedModules(String...) - Method in class jep.JepConfig
Adds module names to the set of shared modules
addTopLevelPackageName(String) - Method in class jep.NamingConventionClassEnquirer
Adds a top level package name to the list of names that should be considered as Java packages

C

call(Object...) - Method in class jep.python.PyCallable
Invokes this callable with the args in order.
call(Map<String, Object>) - Method in class jep.python.PyCallable
Invokes this callable with keyword args.
call(Object[], Map<String, Object>) - Method in class jep.python.PyCallable
Invokes this callable with positional args and keyword args.
ClassEnquirer - Interface in jep
Interface to enquire if a name is available to be imported from Java.
ClassList - Class in jep
A singleton that searches for loaded classes from the JRE and the Java classpath.
cleanupReferences() - Method in class jep.python.MemoryManager
Cleans out all the known references to PyPointers associated with this Jep instance.
cleanupWeakReferences() - Method in class jep.python.MemoryManager
Cleans out weak references to PyPointers associated with this Jep instance.
close() - Method in class jep.Jep
Shuts down the Python sub-interpreter.
close() - Method in class jep.JepScriptEngine
Deprecated.
You *must* close this
close() - Method in class jep.MainInterpreter
Stop the interpreter thread.
close() - Method in class jep.python.PyObject
 
createBindings() - Method in class jep.JepScriptEngine
Deprecated.
Describe createBindings method here.
createJep() - Method in class jep.JepConfig
Creates a new Jep instance and its associated sub-interpreter with this JepConfig.
createModule(String) - Method in class jep.Jep
Deprecated.
This will be removed in a future release.
createModule(String) - Method in class jep.python.PyModule
Deprecated.
Create a python module on the interpreter.

D

decref() - Method in class jep.python.PyObject
Deprecated.
internal use only
delAttr(String) - Method in class jep.python.PyObject
Deletes an attribute on the wrapped Python object, similar to the Python built-in function delattr.
DirectNDArray<T extends java.nio.Buffer> - Class in jep
Represents a numpy.ndarray in Java.
DirectNDArray(T) - Constructor for class jep.DirectNDArray
Constructor for a Java DirectNDArray.
DirectNDArray(T, boolean) - Constructor for class jep.DirectNDArray
Constructor for a Java DirectNDArray.
DirectNDArray(T, int...) - Constructor for class jep.DirectNDArray
Constructor for a Java DirectNDArray.
DirectNDArray(T, boolean, int...) - Constructor for class jep.DirectNDArray
Constructor for a Java DirectNDArray.

E

equals(Object) - Method in class jep.DirectNDArray
 
equals(Object) - Method in class jep.NDArray
 
equals(Object) - Method in class jep.python.PyObject
Checks that the Java type matches and if so then uses Python's rich compare with the == operator to check if this wrapped Python object matches the other PyObject.
eval(String) - Method in class jep.Jep
Evaluate Python statements.
eval(Reader) - Method in class jep.JepScriptEngine
Deprecated.
Run script from reader.
eval(Reader, ScriptContext) - Method in class jep.JepScriptEngine
Deprecated.
Note: always returns null due to Python limitations.
eval(Reader, Bindings) - Method in class jep.JepScriptEngine
Deprecated.
Note: always returns null due to Python limitations.
eval(String) - Method in class jep.JepScriptEngine
Deprecated.
Note: always returns null due to Python limitations.
eval(String, ScriptContext) - Method in class jep.JepScriptEngine
Deprecated.
Describe eval method here.
eval(String, Bindings) - Method in class jep.JepScriptEngine
Deprecated.
Describe eval method here.

G

get(String) - Method in class jep.JepScriptEngine
Deprecated.
Describe get method here.
getAttr(String) - Method in class jep.python.PyObject
Access an attribute of the wrapped Python Object, similar to the Python built-in function getattr.
getAttr(String, Class<T>) - Method in class jep.python.PyObject
Access an attribute of the wrapped Python Object, similar to the Python built-in function getattr.
getBindings(int) - Method in class jep.JepScriptEngine
Deprecated.
Describe getBindings method here.
getClassNames(String) - Method in interface jep.ClassEnquirer
Given a Java package name, gets the fully-qualified classnames available for import in the package.
getClassNames(String) - Method in class jep.ClassList
get classnames in package
getClassNames(String) - Method in class jep.NamingConventionClassEnquirer
 
getContext() - Method in class jep.JepScriptEngine
Deprecated.
Describe getContext method here.
getEngineName() - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getEngineName method here.
getEngineVersion() - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getEngineVersion method here.
getExtensions() - Method in class jep.JepScriptEngineFactory
Deprecated.
(non-Javadoc)
getFactory() - Method in class jep.JepScriptEngine
Deprecated.
Describe getFactory method here.
getInstance() - Static method in class jep.ClassList
get ClassList instance
getLanguageName() - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getLanguageName method here.
getLanguageVersion() - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getLanguageVersion method here.
getLength(T) - Method in class jep.DirectNDArray
 
getMemoryManager() - Method in class jep.Jep
Gets the memory manager associated with this Jep instance.
getMethodCallSyntax(String, String, String[]) - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getMethodCallSyntax method here.
getMimeTypes() - Method in class jep.JepScriptEngineFactory
Deprecated.
(non-Javadoc)
getNames() - Method in class jep.JepScriptEngineFactory
Deprecated.
(non-Javadoc)
getOutputStatement(String) - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getOutputStatement method here.
getParameter(String) - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getParameter method here.
getProgram(String[]) - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getProgram method here.
getScriptEngine() - Method in class jep.JepScriptEngineFactory
Deprecated.
Describe getScriptEngine method here.
getSubPackages(String) - Method in interface jep.ClassEnquirer
Given a Java package name, gets the sub-packages available.
getSubPackages(String) - Method in class jep.ClassList
 
getSubPackages(String) - Method in class jep.NamingConventionClassEnquirer
 
getValue(String) - Method in class jep.Jep
Retrieves a value from this Python sub-interpreter.
getValue(String, Class<T>) - Method in class jep.Jep
Like Jep.getValue(String) but allows specifying the return type.
getValue(String) - Method in class jep.python.PyModule
Deprecated.
Retrieves a value from python.
getValue_bytearray(String) - Method in class jep.Jep
Retrieves a Python string object as a Java byte[].

H

hashCode() - Method in class jep.DirectNDArray
 
hashCode() - Method in class jep.NDArray
 
hashCode() - Method in class jep.python.PyObject
Produces the hash code of the wrapped Python object by using the Python built-in method hash.

I

incref() - Method in class jep.python.PyObject
Deprecated.
internal use only
InvocationHandler - Class in jep.python
Handle Proxy method calls.
InvocationHandler(long, long, Jep, boolean) - Constructor for class jep.python.InvocationHandler
Creates a new InvocationHandler instance.
invoke(String, Object...) - Method in class jep.Jep
Invokes a Python function.
invoke(String, Map<String, Object>) - Method in class jep.Jep
Invokes a Python function.
invoke(String, Object[], Map<String, Object>) - Method in class jep.Jep
Invokes a Python function.
invoke(Object, Method, Object[]) - Method in class jep.python.InvocationHandler
Processes a method invocation on a proxy instance and returns the result.
isInteractive() - Method in class jep.Jep
Gets whether or not this sub-interpreter is interactive.
isJavaPackage(String) - Method in interface jep.ClassEnquirer
Checks if the name is likely available in Java as a package.
isJavaPackage(String) - Method in class jep.ClassList
Checks if the String is known to the ClassList as an available package
isJavaPackage(String) - Method in class jep.NamingConventionClassEnquirer
 
isValid() - Method in class jep.python.PyObject
Deprecated.
In a future release this method will not be public and/or its method signature may change.
isValidThread() - Method in class jep.Jep
Checks if the current thread is valid for the method call.

J

jep - package jep
 
Jep - Class in jep
Embeds CPython in Java.
Jep() - Constructor for class jep.Jep
Creates a new Jep instance and its associated sub-interpreter.
Jep(boolean) - Constructor for class jep.Jep
Deprecated.
Please use Jep.Jep(JepConfig) instead.
Jep(boolean, String) - Constructor for class jep.Jep
Deprecated.
Please use Jep.Jep(JepConfig) instead.
Jep(boolean, String, ClassLoader) - Constructor for class jep.Jep
Deprecated.
Please use Jep.Jep(JepConfig) instead.
Jep(boolean, String, ClassLoader, ClassEnquirer) - Constructor for class jep.Jep
Deprecated.
Please use Jep.Jep(JepConfig) instead.
Jep(JepConfig) - Constructor for class jep.Jep
 
jep.python - package jep.python
 
JepConfig - Class in jep
A configuration object for constructing a Jep instance, corresponding to the configuration of the particular Python sub-interpreter.
JepConfig() - Constructor for class jep.JepConfig
 
JepException - Exception in jep
JepException - it happens.
JepException() - Constructor for exception jep.JepException
Creates a new JepException instance.
JepException(String) - Constructor for exception jep.JepException
Creates a new JepException instance.
JepException(Throwable) - Constructor for exception jep.JepException
Creates a new JepException instance.
JepException(String, Throwable) - Constructor for exception jep.JepException
Creates a new JepException instance.
JepScriptEngine - Class in jep
Deprecated.
This class is not actively used by the community and will be removed in a future release.
JepScriptEngine() - Constructor for class jep.JepScriptEngine
Deprecated.
Make a new JepScriptEngine
JepScriptEngineFactory - Class in jep
Deprecated.
This class is not actively used by the community and will be removed in a future release.
JepScriptEngineFactory() - Constructor for class jep.JepScriptEngineFactory
Deprecated.
 

M

main(String[]) - Static method in class jep.ClassList
for testing only
main(String[]) - Static method in class jep.Run
Describe main method here.
MainInterpreter - Class in jep
The main Python interpreter that all sub-interpreters will be created from.
MemoryManager - Class in jep.python
Manages the native memory associated with PyObjects in a Jep instance.
MemoryManager() - Constructor for class jep.python.MemoryManager
 

N

NamingConventionClassEnquirer - Class in jep
A simple ClassEnquirer to see if the package/class to be imported in a Python sub-interpreter should be considered as a Java package/class.
NamingConventionClassEnquirer() - Constructor for class jep.NamingConventionClassEnquirer
Convenience constructor.
NamingConventionClassEnquirer(boolean) - Constructor for class jep.NamingConventionClassEnquirer
Constructor
NamingConventionClassEnquirer(boolean, boolean) - Constructor for class jep.NamingConventionClassEnquirer
Constructor
NDArray<T> - Class in jep
Represents a numpy.ndarray in Java.
NDArray(T) - Constructor for class jep.NDArray
Constructor for a Java NDArray.
NDArray(T, boolean) - Constructor for class jep.NDArray
Constructor for a Java NDArray.
NDArray(T, int...) - Constructor for class jep.NDArray
Constructor for a Java NDArray.
NDArray(T, boolean, int...) - Constructor for class jep.NDArray
Constructor for a Java NDArray.
newProxyInstance(long, long, Jep, ClassLoader, String[]) - Static method in class jep.Proxy
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.

P

Proxy - Class in jep
Extends java.lang.reflect.Proxy for callbacks.
put(String, Object) - Method in class jep.JepScriptEngine
Deprecated.
Describe put method here.
PyCallable - Class in jep.python
A Java object that wraps a pointer to a Python callable.
PyCallable(long, long, Jep) - Constructor for class jep.python.PyCallable
 
PyClass - Class in jep.python
PyClass(long, long, Jep) - Constructor for class jep.python.PyClass
Deprecated.
Make a new PyClass
PyConfig - Class in jep
A configuration object for setting Python pre-initialization parameters.
PyConfig() - Constructor for class jep.PyConfig
 
PyModule - Class in jep.python
PyModule(long, long, Jep) - Constructor for class jep.python.PyModule
Deprecated.
Creates a new PyModule instance.
PyObject - Class in jep.python
A Java object that wraps a pointer to a Python object.
PyObject(long, long, Jep) - Constructor for class jep.python.PyObject
Make a new PyObject
PyPointer - Class in jep.python
Contains pointers to a JepThread* and a PyObject* for using a PyObject* in Java as a PyObject or its subclasses.

R

RESTRICTED_PKG_NAMES - Static variable in interface jep.ClassEnquirer
Certain Java libraries (e.g.
Run - Class in jep
Executes a Python script in a Jep sub-interpreter.
run(boolean) - Static method in class jep.Run
 
runScript(String) - Method in class jep.Jep
Runs a Python script.
runScript(String, ClassLoader) - Method in class jep.Jep
Runs a Python script.

S

set(String, Object) - Method in class jep.Jep
Sets the Java Object into the sub-interpreter's global scope with the specified variable name.
set(String, String) - Method in class jep.Jep
Sets the Java String into the sub-interpreter's global scope with the specified variable name.
set(String, boolean) - Method in class jep.Jep
Sets the Java boolean into the sub-interpreter's global scope with the specified variable name.
set(String, int) - Method in class jep.Jep
Sets the Java int into the sub-interpreter's global scope with the specified variable name.
set(String, short) - Method in class jep.Jep
Sets the Java short into the sub-interpreter's global scope with the specified variable name.
set(String, char[]) - Method in class jep.Jep
Sets the Java char[] into the sub-interpreter's global scope with the specified variable name.
set(String, char) - Method in class jep.Jep
Sets the Java char into the sub-interpreter's global scope with the specified variable name.
set(String, byte) - Method in class jep.Jep
Sets the Java byte into the sub-interpreter's global scope with the specified variable name.
set(String, long) - Method in class jep.Jep
Sets the Java long into the sub-interpreter's global scope with the specified variable name.
set(String, double) - Method in class jep.Jep
Sets the Java double into the sub-interpreter's global scope with the specified variable name.
set(String, float) - Method in class jep.Jep
Sets the Java float into the sub-interpreter's global scope with the specified variable name.
set(String, boolean[]) - Method in class jep.Jep
Sets the Java boolean[] into the sub-interpreter's global scope with the specified variable name.
set(String, int[]) - Method in class jep.Jep
Sets the Java int[] into the sub-interpreter's global scope with the specified variable name.
set(String, short[]) - Method in class jep.Jep
Sets the Java short[] into the sub-interpreter's global scope with the specified variable name.
set(String, byte[]) - Method in class jep.Jep
Sets the Java byte[] into the sub-interpreter's global scope with the specified variable name.
set(String, long[]) - Method in class jep.Jep
Sets the Java long[] into the sub-interpreter's global scope with the specified variable name.
set(String, double[]) - Method in class jep.Jep
Sets the Java double[] into the sub-interpreter's global scope with the specified variable name.
set(String, float[]) - Method in class jep.Jep
Sets the Java float[] into the sub-interpreter's global scope with the specified variable name.
set(String, Object) - Method in class jep.python.PyObject
Deprecated.
set(String, String) - Method in class jep.python.PyObject
Deprecated.
set(String, boolean) - Method in class jep.python.PyObject
Deprecated.
set(String, int) - Method in class jep.python.PyObject
Deprecated.
set(String, short) - Method in class jep.python.PyObject
Deprecated.
set(String, char[]) - Method in class jep.python.PyObject
Deprecated.
set(String, char) - Method in class jep.python.PyObject
Deprecated.
set(String, byte) - Method in class jep.python.PyObject
Deprecated.
set(String, long) - Method in class jep.python.PyObject
Deprecated.
set(String, double) - Method in class jep.python.PyObject
Deprecated.
set(String, float) - Method in class jep.python.PyObject
Deprecated.
set(String, boolean[]) - Method in class jep.python.PyObject
Deprecated.
set(String, int[]) - Method in class jep.python.PyObject
Deprecated.
set(String, short[]) - Method in class jep.python.PyObject
Deprecated.
set(String, byte[]) - Method in class jep.python.PyObject
Deprecated.
set(String, long[]) - Method in class jep.python.PyObject
Deprecated.
set(String, double[]) - Method in class jep.python.PyObject
Deprecated.
set(String, float[]) - Method in class jep.python.PyObject
Deprecated.
setAttr(String, Object) - Method in class jep.python.PyObject
Sets an attribute on the wrapped Python object, similar to the Python built-in function setattr.
setBindings(Bindings, int) - Method in class jep.JepScriptEngine
Deprecated.
Describe setBindings method here.
setClassEnquirer(ClassEnquirer) - Method in class jep.JepConfig
Sets a ClassEnquirer to determine which imports are Python vs Java, or null for the default ClassList
setClassLoader(ClassLoader) - Method in class jep.Jep
Sets the default classloader.
setClassLoader(ClassLoader) - Method in class jep.JepConfig
Sets the ClassLoader to use when importing Java classes from Python
setContext(ScriptContext) - Method in class jep.JepScriptEngine
Deprecated.
Describe setContext method here.
setDontWriteBytecodeFlag(int) - Method in class jep.PyConfig
Set the Py_DontWriteBytecodeFlag variable on the python interpreter.
setHashRandomizationFlag(int) - Method in class jep.PyConfig
Set the Py_HashRandomizationFlag variable on the python interpreter.
setIgnoreEnvironmentFlag(int) - Method in class jep.PyConfig
Set the Py_IgnoreEnvironmentFlag variable on the python interpreter.
setIncludePath(String) - Method in class jep.JepConfig
Sets a path of directories separated by File.pathSeparator that will be appended to the sub-intepreter's sys.path
setInitParams(PyConfig) - Static method in class jep.Jep
Deprecated.
setInitParams(PyConfig) - Static method in class jep.MainInterpreter
Sets interpreter settings for the main Python interpreter.
setInteractive(boolean) - Method in class jep.Jep
Changes behavior of Jep.eval(String).
setInteractive(boolean) - Method in class jep.JepConfig
Sets whether Jep.eval(String) should support the slower behavior of potentially waiting for multiple statements
setNoSiteFlag(int) - Method in class jep.PyConfig
Set the Py_NoSiteFlag variable on the python interpreter.
setNoUserSiteDirectory(int) - Method in class jep.PyConfig
Set the Py_NoUserSiteDirectory variable on the python interpreter.
setOptimizeFlag(int) - Method in class jep.PyConfig
Set the Py_OptimizeFlag variable on the python interpreter.
setPythonHome(String) - Method in class jep.PyConfig
Set the home location on the python interpreter.
setRedirectOutputStreams(boolean) - Method in class jep.JepConfig
Sets whether to redirect the Python sys.stdout and sys.stderr streams to the Java System.out and System.err streams
setSharedModules(Set<String>) - Method in class jep.JepConfig
Sets the names of modules which should be shared with other Jep sub-interpreters.
setSharedModulesArgv(String...) - Static method in class jep.Jep
Deprecated.
setSharedModulesArgv(String...) - Static method in class jep.MainInterpreter
Sets the sys.argv values on the main interpreter.
setVerboseFlag(int) - Method in class jep.PyConfig
Set the Py_VerboseFlag variable on the python interpreter.
sharedImport(String) - Method in class jep.MainInterpreter
Import a module into the main interpreter on the correct thread for that interpreter.
SharedInterpreter - Class in jep
Class for creating instances of Jep which do not use sub-interpreters.
SharedInterpreter() - Constructor for class jep.SharedInterpreter
 

T

toString() - Method in class jep.python.PyObject
Produces the string representation of the wrapped Python object by using the Python built-in method str.

U

Util - Class in jep
Utility functions
A C D E G H I J M N P R S T U 
Skip navigation links