Export 
Erlang erlport wrapper for elixir.
Installation
Add export to your list of dependencies in mix.exs:
def deps do
[{:export, "~> 0.0.1"}]
end
Usage
Ruby
defmodule SomeRubyCall do
alias Export.Ruby
def call_ruby_method
# path to ruby files
{:ok, ruby} = Ruby.start(ruby_lib: Path.expand("lib/ruby"))
# call "upcase" method from "test" file
ruby |> Ruby.call("test", "upcase", [])
end
end
Python
defmodule SomeRubyCall do
alias Export.Python
def call_ruby_method
# path to our python files
{:ok, py} = Python.start(python_path: Path.expand("lib/python"))
# call "upcase" method from "test" file
py |> Python.call("test", "upcase", [])
end
end