Elixir call python by ports

Well, there is ErlPort. Perhaps it does already do what you need? There is also an elixir wrapper available: export