Pyrlang is a Python library which implements Erlang distribution protocol and creates an Erlang-compatible node in your Erlang cluster.
You can send and receive messages, spawn "processes" on Python side, which will be addressable from Erlang using familiar Erlang concepts like message sending to process identifiers or registered names. Also same works from Python: you can address Erlang processes, send messages to them, monitor and link with them.
The library is designed to be dropped into existing code base with very few changes required.
- Building the Library
- Configuring Pyrlang in Runtime
- Cookbook - How to Get Started
- Start the Node
- Connect nodes
- Exiting a Pyrlang "Process"
- RPC call from Erlang
- Send from Python locally
- Send from Python to a remote
- Send to a Python object
- Remote Calculations on Python Node
- Batch Remote Calculations on Python Node
- Gen_server-like Processes
- Linking/Monitoring from Erlang to Python
- Linking/Monitoring from Python to Erlang
- Data Types in Pyrlang
- Remote Calling Python from Erlang
- Pyrlang modules
- dist_proto module
- gen module - Generic OTP-style calls
- net_kernel module
- node module (begin code exploration from here!)
- pyrlang.notebook module
- process module
- rex module - Remote Execution
- util module