Python JSON-RPC v2 Implementation and Tornado Handler Library

176 views
Skip to first unread message

Josh Marshall

unread,
Oct 19, 2009, 2:13:57 AM10/19/09
to JSON-RPC
Hello;

I apologize in advance if top-posting is bad. I just wanted to share a
couple of Python libraries for JSON-RPC that (I believe?) support the
v2.0 proposed specification. (They also should be backwards-compatible
with older versions, automatically determining which version to use as
a response when possible). I'd love to get some feedback, criticism,
etc. The first project is a library that copies the syntax and
behavior of the xmlrpclib module for Python (jsonrpclib at
http://code.google.com/p/jsonrpclib/), although it doesn't have a
standalone server implementation yet, and the second is part of my RPC
handler library I'm building for the Tornado framework (http://
code.google.com/p/tornadorpc/). I plan to implement a
SimpleJSONRPCServer module for the jsonrpclib project very soon, just
so it isn't necessary to have the Tornado library to test my
jsonrpclib implementation on the server side.

Anyway, I'm sure there are bugs, optimizations, etc. that are needed,
and I'm sure I misunderstood / mis-implemented certain aspects of the
spec, so I'd love to get feedback from the JSON-RPC community. I
really like the v2.0 proposed specification, and I'm excited to
implement some automated helpers for the __jsonclass__ aspect in the
near future.

Thanks for a great spec, and I apologize again if this was the wrong
place to post this.

Josh Marshall
catc...@gmail.com
Reply all
Reply to author
Forward
0 new messages