- 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.
- callable(Object) - Method in interface jep.python.PyBuiltins
-
- callAs(Class<T>, Object...) - Method in class jep.python.PyCallable
-
Invokes this callable with the args in order, converting the return value
to the given class.
- callAs(Class<T>, Map<String, Object>) - Method in class jep.python.PyCallable
-
Invokes this callable with keyword args, converting the return value to
the given class.
- callAs(Class<T>, Object[], Map<String, Object>) - Method in class jep.python.PyCallable
-
Invokes this callable with positional args and keyword args, converting
the return value to the given class.
- 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.
- cleanupWeakReferences() - Method in class jep.python.MemoryManager
-
Cleans out weak references to PyPointers associated with this
Interpreter.
- close() - Method in interface jep.Interpreter
-
- close() - Method in class jep.Jep
-
Shuts down the Python interpreter.
- close() - Method in class jep.MainInterpreter
-
Stop the interpreter thread.
- close() - Method in class jep.python.PyObject
-
- closeInterpreter(Jep) - Method in class jep.python.MemoryManager
-
Stop managing memory for an interpreter.
- createSubInterpreter() - Method in class jep.JepConfig
-
Creates a new Jep instance and its associated sub-interpreter with this
JepConfig.
- set(String, Object) - Method in interface jep.Interpreter
-
Sets the Java Object into the interpreter's global scope with the
specified variable name.
- set(String, Object) - Method in class jep.Jep
-
- set() - Method in interface jep.python.PyBuiltins
-
- set(Iterable<?>) - Method in interface jep.python.PyBuiltins
-
- set(Object[]) - Method in interface jep.python.PyBuiltins
-
- setAllowDaemonThreads(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then the sub-interpreter's threading module won't be
able to create daemon threads.
- setAllowExec(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then the runtime will not support replacing the current
process via exec (e.g.
- setAllowFork(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then the runtime will not support forking the process in
any thread where the sub-interpreter is currently active.
- setAllowThreads(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then the sub-interpreter's threading module won't be
able to create threads.
- setArgv(String...) - Method in class jep.PyConfig
-
- setattr(PyObject, String, Object) - Method in interface jep.python.PyBuiltins
-
- 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.
- setCheckMultiInterpeExtensions(boolean) - Method in class jep.SubInterpreterOptions
-
- setCheckMultiInterpExtensions(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then all extension modules may be imported, including
legacy (single-phase init) modules, in any thread where the
sub-interpreter is currently active.
- 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.JepConfig
-
Sets the ClassLoader to use when importing Java classes from Python
- setConfig(JepConfig) - Static method in class jep.SharedInterpreter
-
Sets interpreter settings for the all SharedInterpreters.
- setDontWriteBytecodeFlag(int) - Method in class jep.PyConfig
-
- setHashRandomizationFlag(int) - Method in class jep.PyConfig
-
- setHashSeed(int) - Method in class jep.PyConfig
-
If
PyConfig.setUseHashSeed(boolean) is false this value is ignored but if
it is true this is a fixed seed for generating the hash() of the types
covered by the hash randomization.
- setHome(String) - Method in class jep.PyConfig
-
Set the default Python "home" directory, that is, the location of the
standard Python libraries.
- setIgnoreEnvironmentFlag(int) - Method in class jep.PyConfig
-
- 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.MainInterpreter
-
Sets interpreter settings for the main Python interpreter.
- setJepLibraryPath(String) - Static method in class jep.MainInterpreter
-
Sets the path of the jep native library.
- setNoSiteFlag(int) - Method in class jep.PyConfig
-
- setNoUserSiteDirectory(int) - Method in class jep.PyConfig
-
- setOptimizationLevel(int) - Method in class jep.PyConfig
-
Set the compilation optimization level:
0: Peephole optimizer, set __debug__ to True.
1: Level 0, remove assertions, set __debug__ to False.
2: Level 1, strip docstrings.
- setOptimizeFlag(int) - Method in class jep.PyConfig
-
- setOwnGIL(boolean) - Method in class jep.SubInterpreterOptions
-
This determines the operation of the GIL for the sub-interpreter.
- setParseArgv(boolean) - Method in class jep.PyConfig
-
If true, parse argv the same way the regular Python parses command line
arguments, and strip Python arguments from argv.
- setProgramName(String) - Method in class jep.PyConfig
-
Set the program name used to initialize executable and in early error
messages during Python initialization.
- setPythonHome(String) - Method in class jep.PyConfig
-
- 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.MainInterpreter
-
- setSiteImport(boolean) - Method in class jep.PyConfig
-
Import the site module at startup?
If false, disable the import of the module site and the site-dependent
manipulations of sys.path that it entails.
- setSubInterpreterOptions(SubInterpreterOptions) - Method in class jep.JepConfig
-
Set the configuration options for a sub-interpreter.
- setUseEnvironment(boolean) - Method in class jep.PyConfig
-
Use environment variables?
If false, ignore the environment variables.
- setUseHashSeed(boolean) - Method in class jep.PyConfig
-
If this is set to true the value of
PyConfig.hashSeed is used as a fixed
seed for generating the hash() of the types covered by the hash
randomization.
- setUseMainObmalloc(boolean) - Method in class jep.SubInterpreterOptions
-
If this is false then the sub-interpreter will use its own "object"
allocator state.
- setUserSiteDirectory(boolean) - Method in class jep.PyConfig
-
If true, add the user site directory to sys.path.
- setVerbose(int) - Method in class jep.PyConfig
-
Verbose mode.
- setVerboseFlag(int) - Method in class jep.PyConfig
-
- setWriteBytecode(boolean) - Method in class jep.PyConfig
-
If false, Python won’t try to write .pyc files on the import of source
modules.
- 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 Interpreters which share all imported
modules.
- SharedInterpreter() - Constructor for class jep.SharedInterpreter
-
- SubInterpreter - Class in jep
-
Class for creating instances of Interpreters which are sandboxed from other
Interpreters.
- SubInterpreter() - Constructor for class jep.SubInterpreter
-
Creates a new sub interpreter.
- SubInterpreter(JepConfig) - Constructor for class jep.SubInterpreter
-
- SubInterpreterOptions - Class in jep
-
A configuration object containing additional options for constructing a
SubInterpreter.