Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install mjsrpc2

How to install mjsrpc2

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install mjsrpc2
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.7Never BuiltWhy not?
0.0.6 Failed View build log
0.0.5 Failed View build log
Windows (64-bit)
0.0.7Never BuiltWhy not?
0.0.6 Failed View build log
0.0.5 Failed View build log
Mac OS X (10.5+)
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
Linux (32-bit)
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
Linux (64-bit)
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
 
Author
License
APL
Dependencies
Depended by
Lastest release
version 0.0.7 on Jul 24th, 2013

mjsrpc2 is a extension of jsonrpc2 providing introspection and argument type validation

Notice

This is an internal component in the mOSAIC Cloud Project. The current state of the component is experimental.

QuickStart

Install using easy_install:

$ easy_install mjsrpc2
Using
from mjsrpc2 import rpc

class A(rpc.RPCBase):
        def __init__(self):
                rpc.RPCBase.__init__(self)

        @rpc.jsonmethod
        def foo(self):
                return "foo"
# Server part
service = rpc.RPCService(A())
server = rpc.UnixSocketConnector(rpc = service, endpoint="/tmp/a.sock")
# Client part
client_transport = rpc.UnixStreamTransport(endpoint = "/tmp/a.sock")
proxy = rpc.RPCProxy(client_transport)
assert proxy.foo() == "foo"
ToDO
  • Implement transport for ZeroMQ
  • Implement transport for RabbitMQ

Subscribe to package updates

Last updated Jul 24th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.