Twisted Python protocol for msgpack-rpc
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
lib/python/txmsgpack
.gitignore
LICENSE
README.md

README.md

txMsgpack

This library is unmaintained - a better alternative may be https://github.com/jakm/txmsgpackrpc

For the latest source code, see http://github.com/donalm/txMsgpack

txMsgpack is a Twisted Protocol to support msgpack-rpc with a more tx idiom than the Tornado implementation that's already available. It uses Twisted for asynchronous network communication.

So Far

  • Msgpack
  • MsgpackServerFactory
  • MsgpackClientFactory

Dependencies

Install

Everything is in lib/python/txmsgpack/ so just make sure lib/python is in PYTHONPATH.

import txmsgpack
txmsgpack.Msgpack
txmsgpack.MsgpackError
txmsgpack.MsgpackServerFactory
txmsgpack.MsgpackClientFactory
txmsgpack.MSGTYPE\_REQUEST
txmsgpack.MSGTYPE\_RESPONSE
txmsgpack.MSGTYPE\_NOTIFICATION

Usage

See the example directory for:

  • tx_client.py
  • tx_server.py
  • client.py