Remote Python Call (RPyC)

A remote python call (RPyC) is a type of remote procedure call that allows an administrator to use the universality of Python programming language to manage a remote object as if it were local.

Python is popular among IT pros for use on quick utility projects. It is particularly flexible because it is completely open source, but its license permits users to develop their own custom commercial versions. Boasting an object-oriented language that features clear syntax and readability, it’s easy to use Python’s statements across multiple operating systems. When it is used for a remote procedure call, the connection is transparent so any existing code works seamlessly with local and remote objects.

The RPyC process uses object proxying, which takes advantage of Python’s versatility to overcome any physical boundaries between processes and computers.

The client and the server can both serve requests with RPyC because the connection is symmetric. In addition RPyC features synchronous and asynchronous operations. The all-in-one approach uses a compact binary protocol and does not involve a complex set up, making for low overhead. RPyC is secure, featuring a capability based security model. And, it is zero-deploy enabled and integrates with TLS/SSL, SSH and inetd.

Other use cases for RPyC include testing environments, providing transparent access to remote hardware, monkey-patching of local or remote code, distributing workloads among multiple machines and implementing remote services.

This was last updated in March 2015

Continue Reading About Remote Python Call (RPyC)

Dig Deeper on Windows OS and management