mirror of
https://github.com/kennethreitz-archive/redi.git
synced 2026-06-05 23:40:18 +00:00
0.0.3
This commit is contained in:
@@ -19,7 +19,7 @@ required = ['redis']
|
||||
|
||||
setup(
|
||||
name='redi',
|
||||
version='0.0.2',
|
||||
version='0.0.3',
|
||||
description='Python middle layer for interacting with Redis data easily.',
|
||||
long_description=open('README.rst').read(),
|
||||
author='Kenneth Reitz',
|
||||
|
||||
@@ -7,7 +7,24 @@ lst = redi.list(('haystack', 'metalist'))
|
||||
# for l in lst:
|
||||
# print l
|
||||
|
||||
lst[0].update({'a':'b'})
|
||||
# lst.delete()
|
||||
|
||||
# lst.append(0)
|
||||
# lst.append(124)
|
||||
# lst.append(346)
|
||||
# lst.append(46)
|
||||
|
||||
# print type(lst[1])
|
||||
lst[2] = 23.3
|
||||
|
||||
# print type(lst[2])
|
||||
# print (lst[2])
|
||||
|
||||
# print lst[2].keys()
|
||||
|
||||
# lst[2]['face'] = ['book']
|
||||
|
||||
print list(lst._raw)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user