Fork me on GitHub

What is ErlPort?

ErlPort is a library for Erlang which helps connect Erlang to a number of other programming languages. Currently supported external languages are Python and Ruby. The library uses Erlang port protocol to simplify connection between languages and Erlang external term format to set the common data types mapping.

Please check Documentation page for features of ErlPort, examples and more details of how to use the library.

Downloads

Download ErlPort 1.0.0alpha

Check Downloads page for installation instructions and packages to download

Latest news

2015-01-02 New ErlPort mail list
Thanks to Duncan McGreggor the ErlPort mail list erlport@googlegroups.com (https://groups.google.com/d/forum/erlport) is now open for discussions!
2013-06-10 Released ErlPort 1.0.0alpha

After almost 2 years of development new 1.0.0alpha version of ErlPort library was released.

New version of ErlPort helps develop applications which want to connect Erlang to Python or Ruby or want to use Erlang as a middleware for these two programming languages.

Changes:

  • Redesigned as Erlang application
  • Added support for all recent Python versions
  • Added support for all recent Ruby versions
  • Added support for custom data types

The following is an example ErlPort session for Python:

1> {ok, P} = python:start().
{ok,<0.34.0>}
2> python:call(P, sys, 'version.__str__', []).
<<"2.7.3 (default, Aug  1 2012, 05:14:39) \n[GCC 4.6.3]">>
3> python:call(P, operator, add, [2, 2]).
4
4> python:stop(P).
ok

Please check Documentation page for more details about ErlPort and Downloads page for installation instructions and packages to download.

WARNING: It's still an alpha version so expect bugs and backward incompatible changes in the future

Check News page for more news about ErlPort.