Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What RPC module works over SSH, telnet and HTTP? [duplicate]

Tags:

python

rpc

Possible Duplicate:
What RPC module should I use to implement RCP in Python and be able to change connection method later?

I am looking for RPC solution that can be used over different protocols like SSH, telnet and HTTP.

It has to be Python 2.5 compatible.

like image 634
sorin Avatar asked Oct 10 '22 06:10

sorin


1 Answers

You're likely going to have to roll your own, but much of the heavy lifting in transport code could be done in other modules:

  • paramiko for ssh
  • telnetlib for telnet
  • urllib(2) for http.

You'll still have to address the issue of data format, but that is independent of transport protocol (feel free to deliver XML-RPC or JSON or any other format over these transports).

like image 160
Nick Bastin Avatar answered Oct 13 '22 10:10

Nick Bastin