Metadata-Version: 1.0
Name: roc
Version: 0.2.3
Summary: XMLRPC with classes
Home-page: https://github.com/peterdemin/python-roc
Author: Peter Demin
Author-email: poslano@gmail.com
License: BSD
Description: ROC - Remote Object Call
        ========================
        
        |Build Status| |PyPi version|
        
        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 <http://fitnesse.org>`__,
        `waferslim <https://github.com/peterdemin/waferslim>`__ and
        `vagrant <http://vagrantup.com>`__ 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.
        
        .. |Build Status| image:: https://travis-ci.org/peterdemin/python-roc.png?branch=master
           :target: https://travis-ci.org/peterdemin/python-roc
        .. |PyPi version| image:: https://pypip.in/v/roc/badge.png
           :target: https://crate.io/packages/$REPO/
        
Keywords: roc xml rpc fitnesse slim vagrant
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
