资 源 简 介
RESTPY
RESTPY - A RESTful distributed computing framework in python
Install
Prerequists: twisted and twisted.web, please install them at http://www.twistedmatrix.com
Then
% python setup.py install
Samples
Start the server by
% python samples/person.py server localhost:8888
Client runs at python console
```
import restpy
ps = restpy.reference("localhost:8888", "/persons/")
ps.get()
...
p = ps.create(567)
ps.get()
...
p.get()
p.update(name="Alice")
p.create(greeting="Hello")
...
or another client command line
% python samples/person.py client localhost:8888
```
Contact
Author: Zeng Ke , superisaac.ke@gmail.com