This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

XMLRPC with classes

Project Description

ROC - Remote Object Call

ROC is RPC enhancment allowing to manipulate remote objects like they are local

Why ROC?

ROC development was started to support acceptance testing of distributed systems with FitNesse, waferslim and vagrant System infrastucture may be described as follows:

  • Host machine running FitNesse server and SLIM server;
  • Set of guests, that are provisioned by vagrant with ROC servers;

When hosts’ fixture is invoked by SLIM server, it can access guests’ roc servers.

Usage

To start serving your modules on remote machine with ROC:

python -m "roc" -m <your-module-path> -p <port>

To connect to your instance from host:

from roc.client import server_proxy, remote_module
proxy = server_proxy(host='127.0.0.1', port=1234)
RModule = remote_module(proxy)

To instantiate object on remote machine:

remote_instance = RModule.RemoteClass(1, 2, 3)

From now every method called on remote_instance will be executed on remote.

When you finished, call proxy.shutdown() to, well, shut down remote ROC server.

Release History

Release History

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.3

History Node

0.2.1

History Node

0.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
roc-0.3.2.zip (8.2 kB) Copy SHA256 Checksum SHA256 Source Oct 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting