name | mode | size |
---|---|---|
doc | 040000 | |
tests | 040000 | |
.gitignore | 100644 | 0 kb |
COPYING | 100644 | 1 kb |
README.markdown | 100644 | 0 kb |
__init__.py | 100644 | 2 kb |
__main__.py | 100644 | 0 kb |
jsonutil.py | 100644 | 3 kb |
proxy.py | 100644 | 7 kb |
server.py | 100644 | 6 kb |
A JSON-RPC 2.0 implementation for Python (Python 3 not supported)
You can get started with:
- Python 2.7:
$ python -m jsonrpc <host name>
- Python 2.6
$ python -m jsonrpc.__main__ <host name>
After the python interpreter starts up, you can do things like
(if the JSON-RPC Server supports the methods called):
>>> server.add(1, 2)
3
>>> server.subtract(3,2)
1
Made for:
http://ncmi.bcm.edu