SnakeOil (snake_oil v0.1.1)
Documentation for SnakeOil
.
Summary
Functions
Calls a Python function.
Calls a Python function with a timeout.
Call a python function without a genserver.
Starts the application. returns: {:ok, pid} | {:error, reason}
Stops the Python instance.
Functions
Link to this function
call_python_function(module, function, args \\ [])
Calls a Python function.
Link to this function
call_python_function_with_timeout(module, function, timeout, args \\ [])
Calls a Python function with a timeout.
Link to this function
call_python_transient(working_dir, module, function, args \\ [], python_version \\ ~c"python3")
Call a python function without a genserver.
Link to this function
start_python_instance(working_dir, python_version \\ ~c"python3")
Starts the application. returns: {:ok, pid} | {:error, reason}
Link to this function
stop_python_instance(pid)
Stops the Python instance.