Metadata-Version: 2.1
Name: gearsclient
Version: 1.0.1
Summary: RedisGears Python Client
Home-page: https://github.com/RedisGears/redisgears-p
Author: RedisLabs
Author-email: oss@redislabs.com
License: UNKNOWN
Description: [![license](https://img.shields.io/github/license/RedisGears/redisgears-py.svg)](https://github.com/RedisGears/redisgears-py)
        [![PyPI version](https://badge.fury.io/py/redisgears-py.svg)](https://badge.fury.io/py/redisgears-py)
        [![CircleCI](https://circleci.com/gh/RedisGears/redisgears-py/tree/master.svg?style=svg)](https://circleci.com/gh/RedisGears/redisgears-py/tree/master)
        [![GitHub issues](https://img.shields.io/github/release/RedisGears/redisgears-py.svg)](https://github.com/RedisGears/redisgears-py/releases/latest)
        [![Codecov](https://codecov.io/gh/RedisGears/redisgears-py/branch/master/graph/badge.svg)](https://codecov.io/gh/RedisGears/redisgears-py)
        [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/RedisGears/redisgears-py.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisGears/redisgears-py/context:python)
        
        # redisgears-py
        [![Forum](https://img.shields.io/badge/Forum-RedisGears-blue)](https://forum.redislabs.com/c/modules/redisgears)
        
        [RedisGears](http://redisgears.io) python client (support python3 only!)
        
        ## Example: Using the Python Client:
        ```python
        from gearsclient import GearsRemoteBuilder as GearsBuilder
        import redis
        
        conn = redis.Redis(host='localhost', port=6379)
        
        # count for each genre how many times it appears
        
        res = GearsBuilder('KeysOnlyReader', r=conn).\
        	  map(lambda x:execute('hget', x, 'genres')).\
        	  filter(lambda x:x != '\\N').\
        	  flatmap(lambda x: x.split(',')).\
        	  map(lambda x: x.strip()).\
        	  countby().\
        	  run()
        
        
        for r in res[0]:
        	print('%-15s: %d' % (r['key'], r['value']))
        ```
        
        ## Installing
        ```
        pip install git+https://github.com/RedisGears/redisgears-py.git
        ```
        Notice that the library also need to be installed in RedisGears virtual env.
        
Keywords: R,e,d,i,s, ,G,e,a,r,s, ,E,x,t,e,n,s,i,o,n
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Database
Description-Content-Type: text/markdown
