Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.12 KB

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