Metadata-Version: 1.0
Name: redis_wrap
Version: 1.2
Summary: Implements a wrapper for Redis datatypes so they mimic the datatypes found in Python.
Home-page: http://www.amix.dk/
Author: amix
Author-email: amix@amix.dk
License: BSD
Description: redis_wrap
        ---------------
        
        Implements a wrapper for Redis datatypes so they mimic the datatypes found in Python.
        
        Requires Redis 2.0+ and newest version of redis-py.
        
        For best performance the wrappers are lazy and use direct Redis calls.
        E.g. __len__ of list wrapper is implemented by calling llen.
        
        redis-py can be downloaded from here:
        * http://github.com/andymccurdy/redis-py
        
        Examples
        ----------
        
        Example of list wrapper::
        
        bears = get_list('bears')
        bears.append('grizzly')
        assert len(bears) == 1
        assert 'grizzly' in bears
        
        Example of hash wrapper::
        
        villains = get_hash('villains')
        assert 'riddler' not in villains
        
        villains['riddler'] = 'Edward Nigma'
        assert 'riddler' in villains
        
        assert len(villains.keys()) == 1
        
        del villains['riddler']
        assert len(villains) == 0
        
        Example of set wrapper::
        
        fishes = get_set('fishes')
        assert 'nemo' not in fishes
        
        fishes.add('nemo')
        assert 'nemo' in fishes
        
        for item in fishes:
        assert item == 'nemo'
        
        Copyright: 2010 by amix
        License: BSD.
Keywords: redis wrapper
Platform: Any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
