Metadata-Version: 1.2
Name: tairClient
Version: 0.1.0
Summary: a client extends redis.py that gives developers easy access to tair or tairModules
Home-page: https://github.com/631086083/tairClient
Author: Cheng Jiang
Author-email: jiangcheng17@mails.ucas.ac.cn
License: UNKNOWN
Description: Python client for Tair
        ======================
        
        tairClient-py is a package that gives developers easy access to tair or
        tairModules. The package extends
        `redis-py <https://github.com/andymccurdy/redis-py>`__\ ’s interface
        with Tair’s API.
        
        Installation
        ~~~~~~~~~~~~
        
        ::
        
           $ pip install tairClient
        
        Usage example
        ~~~~~~~~~~~~~
        
        .. code:: python
        
           from tairClient.client import Client
           tair = Client()
           tair.exhset("key","field","value",nx=True,ver=2) # returns 1
           tair.exhmset("key",{"field2":"value2","field3":"value3","field4":""}) # returns ok
           tair.exhlen("key")  # return 4
           tair.exhdel("key","field") # return 1
           tair.exhlen("key")  # return 3
           tair.exhgetall("key") # returns [b'field3', b'value3', b'field2', b'value2', b'field4', b'']
           tair.exhver("key","field3") # returns 1
           tair.exhset("key","field3","2") # returns 1
           tair.exhgetwithver("key","field3") # returns [b'2', 13]
        
        API
        ~~~
        
        For complete documentation about tair’s commands, refer to `tair’s
        module website <https://help.aliyun.com/document_detail/146579.html>`__.
        
        License
        ~~~~~~~
        
        `Apache License Version
        2.0 <https://github.com/631086083/tairClient/master/LICENSE>`__
        
Keywords: tair redis tairHash tairString
Platform: UNKNOWN
Requires-Python: >=3.6
