View Source Mobilizon.PythonPort (Mobilizon v5.0.0-beta.1)

Port to use Python modules from Elixir

Summary

Functions

Call python function using MFA format

Whether Python3 is installed

Parameters

  • path: directory to include in python path

Functions

Link to this function

call_python(pid, module, function, arguments \\ [])

View Source
@spec call_python(pid(), binary(), binary(), list()) :: any()

Call python function using MFA format

@spec python_exists?() :: boolean()

Whether Python3 is installed

@spec python_instance(String.t()) :: pid()

Parameters

  • path: directory to include in python path