txJSON-RPC
JSON-RPC
This is the wiki page for the [https://launchpad.net/txjsonrpc txJSON-RPC project]. The goal of this code is to assist developers in creating python JSON-RPC servers using the [http://twistedmatrix.com/trac/ Twisted Network Engine].
Twisted
["txJSON-RPC/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)
["txJSON-RPC/TwistedWeb2"] - an HTTP implementation based on twisted.web2 (ditto on the parenthetical from above)
["txJSON-RPC/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 txJSON-RPC
Releases are [http://pypi.python.org/pypi/txJSON-RPC here].
Source code is [https://code.launchpad.net/txjsonrpc here].
Relase Notes
0.0.4 Changed name in accord with Twisted community projects recommendations
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://bazaar.launchpad.net/~oubiwann/txjsonrpc/main/annotate/head:/txjsonrpc/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://bazaar.launchpad.net/~oubiwann/txjsonrpc/main/annotate/head:/TODO TODO]
Resources
twisted - http://twistedmatrix.com/trac
simplejson - http://undefined.org/python/#simplejson