txJSON-RPC

Revision 1 as of 2008-06-01 21:59:30

Clear message

JSON-RPC

This is the project page for creating python JSON-RPC servers using the Twisted Python [http://glyf.livejournal.com/54500.html Integratotron].

Twisted

TwistedWeb - an HTTP implementation based on twisted.web; currently supports Basic Authentication (based completely on Itamar's work; this work is not original, but a simple conversion of his)

TwistedWeb2 - an HTTP implementation based on twisted.web2 (ditto on the parenthetical from above)

TwistedNetstring - a TCP implementation based on Twisted Python's [http://twistedmatrix.com/trac/browser/trunk/twisted/protocols/basic.py?rev=16739#L32 implementation] of the [http://cr.yp.to/proto/netstrings.txt Netstring protocol]

Installation

Very easy installation:

sudo easy_install "http://twisted-jsonrpc.googlecode.com/svn/releases/Twisted_JSONRPC-0.0.3-py2.4.egg"

or, if you don't like the long URL:

sudo easy_install "http://tinyurl.com/ynssnn"

Note that this depends upon the version you want.

Releases are [http://twisted-jsonrpc.googlecode.com/svn/releases/ here]. There are python2.3 eggs there sometimes, but keep in mind that these are mostly untested and issues with them may very well go unaddressed. However, issues with python2.4 eggs receive my full attention, so please submit a bug ("New Ticket" link above) if you find one.

Relase Notes

0.0.3 Includes support for Twisted JSON-RPC servers/clients over TCP

0.0.2 Includes support for twisted.web2 JSON-RPC servers over HTTP

0.0.1 Includes support for twisted.web JSON-RPC servers/clients over HTTP

JSON

[http://twisted-jsonrpc.googlecode.com/svn/trunk/adytum/jsonrpclib.py jsonrpclib] - a JSON partial analog to the python xmlrpclib

TODO

To see what's on the list for development, check out the following

[http://twisted-jsonrpc.googlecode.com/svn/trunk/TODO TODO]

Resources

twisted - http://twistedmatrix.com/trac

simplejson - http://undefined.org/python/#simplejson