| Modifier and Type | Class and Description | 
|---|---|
| class  | PyModuleRepresents a Python module. | 
| Modifier and Type | Method and Description | 
|---|---|
| PyObject | PyObject. call(String name,
    Object... args)Call the callable Python object with the given name and arguments. | 
| PyObject | CreateModule. call(String moduleName,
    String moduleScript) | 
| PyObject | PyObject. callMethod(String name,
          Object... args)Call the callable Python method with the given name and arguments. | 
| static PyObject | PyObject. executeCode(String code,
           PyInputMode mode)Executes Python source code. | 
| static PyObject | PyObject. executeCode(String code,
           PyInputMode mode,
           Object globals,
           Object locals)Executes Python source code in the context specified by the  globalsandlocalsmaps. | 
| static PyObject | PyObject. executeScript(String script,
             PyInputMode mode)Executes Python source script. | 
| static PyObject | PyObject. executeScript(String script,
             PyInputMode mode,
             Object globals,
             Object locals)Executes Python source script in the context specified by the  globalsandlocalsmaps. | 
| static PyObject | PyModule. extendSysPath(String modulePath,
             boolean prepend)Extends Python's 'sys.path' variable by the given module path. | 
| PyObject | PyListWrapper. get(int index) | 
| PyObject | PyDictWrapper. get(Object key) | 
| PyObject | PyDictWrapper. get(String key)An extension to the Map interface that allows the use of String keys without generating warnings. | 
| PyObject | PyObject. getAttribute(String name)Gets the Python value of a Python attribute. | 
| static PyObject | PyLib. getCurrentGlobals()Return a dictionary of the global variables in the current execution frame, or NULL if no
 frame is currently executing. | 
| static PyObject | PyLib. getCurrentLocals()Return a dictionary of the local variables in the current execution frame, or NULL if no
 frame is currently executing. | 
| PyObject | PyDictWrapper. getItem(Object key) | 
| static PyObject | PyLib. getMainGlobals() | 
| PyObject | PyObject. getType()Gets the Python type object for this wrapped object. | 
| PyObject | IdentityModule. identity(Object object) | 
| PyObject | PyDictWrapper. put(PyObject key,
   PyObject value) | 
| PyObject | PyListWrapper. remove(int index) | 
| PyObject | PyDictWrapper. remove(Object key) | 
| PyObject | PyDictWrapper. remove(String key) | 
| PyObject | PyListWrapper. set(int index,
   PyObject element) | 
| PyObject[] | PyListWrapper. toArray() | 
| PyObject | PyDictWrapper. unwrap()Gets the underlying PyObject. | 
| static PyObject | PyObject. unwrapProxy(Object object)Unwraps the original Python object used to create  object. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PyObject> | PyObject. asList() | 
| Set<Map.Entry<PyObject,PyObject>> | PyDictWrapper. entrySet()Note: we are returning a COPY not a VIEW of the entries | 
| Set<Map.Entry<PyObject,PyObject>> | PyDictWrapper. entrySet()Note: we are returning a COPY not a VIEW of the entries | 
| Iterator<PyObject> | PyListWrapper. iterator() | 
| Set<PyObject> | PyDictWrapper. keySet()Note: we are returning a COPY not a VIEW of the keys | 
| ListIterator<PyObject> | PyListWrapper. listIterator() | 
| ListIterator<PyObject> | PyListWrapper. listIterator(int index) | 
| List<PyObject> | PyListWrapper. subList(int fromIndex,
       int toIndex) | 
| Collection<PyObject> | PyDictWrapper. values()Note: we are returning a COPY not a VIEW of the values | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PyListWrapper. add(int index,
   PyObject element) | 
| boolean | PyListWrapper. add(PyObject pyObject) | 
| boolean | PyDictWrapper. containsKey(PyObject key) | 
| PyObject | PyDictWrapper. put(PyObject key,
   PyObject value) | 
| PyObject | PyListWrapper. set(int index,
   PyObject element) | 
| void | PyListWrapper. setItem(int index,
       PyObject element) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | PyListWrapper. addAll(Collection<? extends PyObject> c) | 
| boolean | PyListWrapper. addAll(int index,
      Collection<? extends PyObject> c) | 
| void | PyDictWrapper. putAll(Map<? extends PyObject,? extends PyObject> m) | 
| void | PyDictWrapper. putAll(Map<? extends PyObject,? extends PyObject> m) | 
Copyright © 2014–2022 Brockmann Consult GmbH. All rights reserved.