Skip navigation links
A C D E F G H I K O P R S T U V 

A

asDict() - Method in class org.jpy.PyObject
 
asList() - Method in class org.jpy.PyObject
 
assertPythonRuns() - Static method in class org.jpy.PyLib
Throws a runtime exception if Python interpreter is not running.

C

call(String, Object...) - Method in class org.jpy.PyObject
Call the callable Python object with the given name and arguments.
callMethod(String, Object...) - Method in class org.jpy.PyObject
Call the callable Python method with the given name and arguments.
clear() - Method in class org.jpy.PyDictWrapper
 
containsKey(Object) - Method in class org.jpy.PyDictWrapper
 
containsKey(String) - Method in class org.jpy.PyDictWrapper
An extension to the Map interface that allows the use of String keys without generating warnings.
containsValue(Object) - Method in class org.jpy.PyDictWrapper
 
copy() - Method in class org.jpy.PyDictWrapper
Copy this dictionary into a new dictionary.
createProxy(Class<T>) - Method in class org.jpy.PyModule
Create a Java proxy instance of this Python module which contains compatible functions to the ones provided in the interface given by the type parameter.
createProxy(Class<T>) - Method in class org.jpy.PyObject
Create a Java proxy instance of this Python object which contains compatible methods to the ones provided in the interface given by the type parameter.
createProxy(PyLib.CallableKind, Class<?>...) - Method in class org.jpy.PyObject
Create a Java proxy instance of this Python object (or module) which contains compatible methods (or functions) to the ones provided in the interfaces given by all the type parameters.

D

delAttribute(String) - Method in class org.jpy.PyObject
Deletes the value of a Python attribute.
DL - Class in org.jpy
A replacement for System.load(String) with support for POSIX dlopen flags.
DL() - Constructor for class org.jpy.DL
 
dlclose(long) - Static method in class org.jpy.DL
 
dlerror() - Static method in class org.jpy.DL
 
dlopen(String, int) - Static method in class org.jpy.DL
loads the dynamic library file named by the null-terminated string filename and returns an opaque "handle" for the dynamic library.

E

entrySet() - Method in class org.jpy.PyDictWrapper
 
equals(Object) - Method in class org.jpy.PyObject
Indicates whether some other object is "equal to" this one.
execScript(String) - Static method in class org.jpy.PyLib
Deprecated.
executeCode(String, PyInputMode) - Static method in class org.jpy.PyObject
Executes Python source code.
executeCode(String, PyInputMode, Object, Object) - Static method in class org.jpy.PyObject
Executes Python source code in the context specified by the globals and locals maps.
executeScript(String, PyInputMode) - Static method in class org.jpy.PyObject
Executes Python source script.
executeScript(String, PyInputMode, Object, Object) - Static method in class org.jpy.PyObject
Executes Python source script in the context specified by the globals and locals maps.
extendSysPath(String, boolean) - Static method in class org.jpy.PyModule
Extends Python's 'sys.path' variable by the given module path.

F

F_ALL - Static variable in class org.jpy.PyLib.Diag
Print any diagnostic information.
F_ERR - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information if erroneous states are detected in the jpy Python module.
F_EXEC - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information when code execution flow is passed from Java to Python or the other way round.
F_JVM - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information usage of the Java VM Invocation API.
F_MEM - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information about memory allocation/deallocation.
F_METH - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information while Java methods overloads are selected.
F_OFF - Static variable in class org.jpy.PyLib.Diag
Print no diagnostic information at all.
F_TYPE - Static variable in class org.jpy.PyLib.Diag
Print diagnostic information while Java types are resolved.
finalize() - Method in class org.jpy.PyObject
Decrements the reference count of the Python object which this class represents.

G

get(Object) - Method in class org.jpy.PyDictWrapper
 
get(String) - Method in class org.jpy.PyDictWrapper
An extension to the Map interface that allows the use of String keys without generating warnings.
getAttribute(String) - Method in class org.jpy.PyObject
Gets the Python value of a Python attribute.
getAttribute(String, Class<? extends T>) - Method in class org.jpy.PyObject
Gets the value of a Python attribute as Java object of a given type.
getBooleanValue() - Method in class org.jpy.PyObject
 
getBuiltins() - Static method in class org.jpy.PyModule
Get the Python interpreter's buildins module and returns its Java representation.
getDllFilePath() - Static method in class org.jpy.PyLib
 
getDoubleValue() - Method in class org.jpy.PyObject
 
getFlags() - Static method in class org.jpy.PyLib.Diag
 
getIntValue() - Method in class org.jpy.PyObject
 
getMain() - Static method in class org.jpy.PyModule
Get the Python interpreter's main module and return its Java representation.
getMainGlobals() - Static method in class org.jpy.PyLib
 
getName() - Method in class org.jpy.PyModule
 
getObjectArrayValue(Class<? extends T>) - Method in class org.jpy.PyObject
Gets this Python object as Java Object[] value of the given item type.
getObjectValue() - Method in class org.jpy.PyObject
Gets this Python object as Java Object value.
getPointer() - Method in class org.jpy.PyObject
 
getPythonVersion() - Static method in class org.jpy.PyLib
 
getStringValue() - Method in class org.jpy.PyObject
 
getType() - Method in class org.jpy.PyObject
Gets the Python type object for this wrapped object.

H

hasAttribute(String) - Method in class org.jpy.PyObject
Checks for the existence of a Python attribute..
hashCode() - Method in class org.jpy.PyObject
Computes a hash code from this object's pointer value.

I

importModule(String) - Static method in class org.jpy.PyModule
Import a Python module into the Python interpreter and return its Java representation.
isBoolean() - Method in class org.jpy.PyObject
 
isCallable() - Method in class org.jpy.PyObject
 
isConvertible() - Method in class org.jpy.PyObject
 
isDict() - Method in class org.jpy.PyObject
 
isEmpty() - Method in class org.jpy.PyDictWrapper
 
isFloat() - Method in class org.jpy.PyObject
 
isInt() - Method in class org.jpy.PyObject
 
isList() - Method in class org.jpy.PyObject
 
isLong() - Method in class org.jpy.PyObject
 
isNone() - Method in class org.jpy.PyObject
 
isPythonRunning() - Static method in class org.jpy.PyLib
 
isString() - Method in class org.jpy.PyObject
 

K

KeyError - Exception in org.jpy
Translation of Python KeyErrors so that they can be programmatically detected from Java.
keySet() - Method in class org.jpy.PyDictWrapper
 

O

org.jpy - package org.jpy
Provides the classes necessary to create an embedded Python VM, to execute Python code, to import Python modules, to access Python variables, and finally to call Python functions and class methods.

P

put(PyObject, PyObject) - Method in class org.jpy.PyDictWrapper
 
putAll(Map<? extends PyObject, ? extends PyObject>) - Method in class org.jpy.PyDictWrapper
 
putObject(Object, Object) - Method in class org.jpy.PyDictWrapper
An extension to the Map interface that allows the use of Object key-values without generating warnings.
PyDictWrapper - Class in org.jpy
A simple wrapper around PyObjects that are actually Python dictionaries, to present the most useful parts of a Map interface.
PyInputMode - Enum in org.jpy
Source code input modes for compiling/executing Python source code.
PyLib - Class in org.jpy
Represents the library that provides the Python interpreter (CPython).
PyLib.CallableKind - Enum in org.jpy
The kind of callable Python objects.
PyLib.Diag - Class in org.jpy
Controls output of diagnostic information for debugging.
PyModule - Class in org.jpy
Represents a Python module.
PyObject - Class in org.jpy
Represents a Python object (of Python/C API type PyObject*) in the Python interpreter.

R

remove(Object) - Method in class org.jpy.PyDictWrapper
 
remove(String) - Method in class org.jpy.PyDictWrapper
 
repr() - Method in class org.jpy.PyObject
Gets a the python repr of this object
RTLD_GLOBAL - Static variable in class org.jpy.DL
External symbols defined in the library will be made available to subsequently loaded libraries.
RTLD_LAZY - Static variable in class org.jpy.DL
Resolve undefined symbols as code from the dynamic library is executed.
RTLD_LOCAL - Static variable in class org.jpy.DL
This is the converse of RTLD_GLOBAL, and the default if neither flag is specified.
RTLD_NOW - Static variable in class org.jpy.DL
Resolve all undefined symbols before DL.dlopen(java.lang.String, int) returns and fail if this cannot be done.

S

setAttribute(String, T) - Method in class org.jpy.PyObject
Sets the value of a Python attribute from the given Java object.
setAttribute(String, T, Class<? extends T>) - Method in class org.jpy.PyObject
Sets the value of a Python attribute from the given Java object and Java type (if given).
setFlags(int) - Static method in class org.jpy.PyLib.Diag
Sets the current diagnostic flags.
setPythonHome(String) - Static method in class org.jpy.PyLib
Does the equivalent of setting the PYTHONHOME environment variable.
size() - Method in class org.jpy.PyDictWrapper
 
startPython(String...) - Static method in class org.jpy.PyLib
Starts the Python interpreter.
StopIteration - Exception in org.jpy
Translation of Python StopIteration so that they can be programmatically detected from Java.
stopPython() - Static method in class org.jpy.PyLib
Stops the Python interpreter.

T

toString() - Method in class org.jpy.PyObject
Gets the python string representation of this object.

U

unwrap() - Method in class org.jpy.PyDictWrapper
Gets the underlying PyObject.

V

value() - Method in enum org.jpy.PyInputMode
 
valueOf(String) - Static method in enum org.jpy.PyInputMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jpy.PyLib.CallableKind
Returns the enum constant of this type with the specified name.
values() - Method in class org.jpy.PyDictWrapper
 
values() - Static method in enum org.jpy.PyInputMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jpy.PyLib.CallableKind
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I K O P R S T U V 
Skip navigation links

Copyright © 2014–2020 Brockmann Consult GmbH. All rights reserved.