下拉刷新
Repository Details
Shared bynavbar_avatar
repo_avatar
HelloGitHub Rating
0 ratings
以 Python 的方式操作 Redis 的库
FreeApache-2.0
Claim
Collect
Share
1.1k
Stars
No
Chinese
Python
Language
Yes
Active
5
Contributors
25
Issues
No
Organization
3.0.0
Latest
57
Forks
Apache-2.0
License
More
以 Python 的方式操作 Redis 的库。忘记那些 Redis 命令吧,只要你知道如何使用 Python 字典,那么你就会用这个库操作 Redis ```python >>> from pottery import RedisList >>> tel = RedisDict({'jack': 4098, 'sape': 4139}, redis=redis, key='tel') >>> tel['guido'] = 4127 >>> tel RedisDict{'jack': 4098, 'sape': 4139, 'guido': 4127} >>> tel['jack'] 4098 >>> squares = RedisList([1, 4, 9, 16, 25], redis=redis, key='squares') >>> squares RedisList[1, 4, 9, 16, 25] >>> squares[0] 1 ```
Included in:
Vol.68
Tags:
Redis
Python

Comments

Rating:
No comments yet