Index (Java-Python Bridge 0.8 Java API)
Date: 2015-11-20

A C D E F G H I O P R S T V

## A

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.
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

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

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, Map<String, Object>, Map<String, Object>) - Static method in class org.jpy.PyObject
  Executes Python source code 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

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.
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.
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

## H

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.
isPythonRunning() - Static method in class org.jpy.PyLib

## 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

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

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 `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.
startPython(String...) - Static method in class org.jpy.PyLib
  Starts the Python interpreter.
stopPython() - Static method in class org.jpy.PyLib
  Stops the Python interpreter.

## T

toString() - Method in class org.jpy.PyObject
  Gets a string representation of the object using the format "PyObject(pointer=<value>)".

## 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() - 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 O P R S T V

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