from __future__ import absolute_import

__author__ = 'Louis Taylor'
__email__ = 'louis@kragniz.eu'
__version__ = '0.1.0'

import grpc

from etcdrpc import rpc_pb2 as etcdrpc


class Etcd3Client(object):
    def __init__(self):
        self.channel = grpc.insecure_channel('localhost:2379')
        self.kvstub = etcdrpc.KVStub(channel)

    def get(self, key):
        pass

    def put(self, key, value):
        put_request = etcdrpc.PutRequest()
        put_request.key = key.encode('utf-8')
        put_request.value = value.encode('utf-8')
        self.kvstub.Put(put_request)

@@ -115,16 +115,53 @@
 0.1.0'%0A%0A
+__all__ = %5B'Etcd3Client', 'client'%5D%0A%0A
 import g
@@ -612,8 +612,96 @@
 equest)%0A
+%0A%0Adef client():%0A    '''Return an instance of an Etcd3Client'''%0A    return Etcd3Client()%0A

Add client stub