My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages

pipe_rpc is a python module allowing you to use make function calls to another process over a pair of file descriptors.

This is different from other RPC packages in that it doesn't impose on you any kind of network setup, protocols, etc. It just needs a pair of file descriptors. Thus you can use it over ssh and have the ssh model of security (as opposed to the common TLS-based one).

Features:

  • works with multiple serialisation protocols (pickle, yaml, json)
  • client code can be used in either sync or async mode
  • client can be coded to work with multiple servers at the same time
  • customizable timeouts and buffer sizes

See ExampleUsage for a simple client and server.

Powered by Google Project Hosting