#!/usr/bin/python
import pyjsonrpc
import socket

hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)

if __name__ == "__main__":
    cli = pyjsonrpc.HttpClient(
        url = "http://localhost:9000/jsonrpc")
    print cli.prepare(ip, "counter")
    
    

a30f108af9fc1dcd4c90d0b1b02c18cda95646bc
#!/usr/bin/python
import pyjsonrpc
import socket

hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)

if __name__ == "__main__":
    cli = pyjsonrpc.HttpClient(
        url = "http://localhost:9000/jsonrpc")
    print cli.prepare(ip, "counter")
    
    
