janus.pl -- Call Python from Prolog |
items/2 | True when Items is a list of Key:Value that appear in Dict. | |
key/2 | True when Key is a key in Dict. | |
keys/2 | True when Keys is a list of keys that appear in Dict. | |
py_add_lib_dir/1 | Add a directory to the Python module search path. | |
py_add_lib_dir/2 | Add a directory to the Python module search path. | |
py_call/1 | Call Python and return the result of the called function. | |
py_call/2 | Call Python and return the result of the called function. | |
py_call/3 | Call Python and return the result of the called function. | |
py_dot/3 | Call a method or access an attribute on the object ObjRef. | |
py_dot/4 | Call a method or access an attribute on the object ObjRef. | |
py_free/1 | Immediately free (decrement the reference count) for the Python object Obj. | |
py_func/3 | Call Python Function in Module. | |
py_func/4 | Call Python Function in Module. | |
py_gil_owner/1 | True when the Python GIL is owned by Thread. | |
py_hasattr/2 | True when Name is an attribute of Module. | |
py_import/2 | Import a Python module. | |
py_initialize/3 | Initialize and configure the embedded Python system. | |
py_is_dict/1 | True if Term is a Prolog term that represents a Python dict. | |
py_is_object/1 | True when Term is a Python object reference. | |
py_isinstance/2 | True if ObjRef is an instance of Type or an instance of one of the sub types of Type. | |
py_iter/2 | True when Value is returned by the Python Iterator. | |
py_iter/3 | True when Value is returned by the Python Iterator. | |
py_lib_dirs/1 | True when Dirs is a list of directories searched for Python modules. | |
py_module/2 | Load Source into the Python module Module. | |
py_module_exists/1 | True if Module is a currently loaded Python module or it can be loaded. | |
py_obj_dict/2 | | |
py_obj_dir/2 | | |
py_object_dict/2 | Examine attributes of an object. | |
py_object_dir/2 | Examine attributes of an object. | |
py_pp/1 | Pretty prints the Prolog translation of a Python data structure in Python syntax. | |
py_pp/2 | Pretty prints the Prolog translation of a Python data structure in Python syntax. | |
py_pp/3 | Pretty prints the Prolog translation of a Python data structure in Python syntax. | |
py_setattr/3 | Set a Python attribute on an object. | |
py_shell/0 | Start an interactive Python REPL loop using the embedded Python interpreter. | |
py_type/2 | True when Type is the name of the type of ObjRef. | |
py_version/0 | Print version info on the embedded Python installation based on Python sys.version . | |
py_with_gil/1 | Run Goal as once(Goal) while holding the Phyton GIL (Global Interpreter Lock). | |
values/3 | Get the value associated with Dict at Path. | |