walrus - 用于处理Redis的轻量级Python实用程序

网友投稿 775 2022-10-23

walrus - 用于处理Redis的轻量级Python实用程序

walrus - 用于处理Redis的轻量级Python实用程序

Walrus

Lightweight Python utilities for working with Redis.

The purpose of walrus is to make working with Redis in Python a little easier. Rather than ask you to learn a new library, walrus subclasses and extends the popular redis-py client, allowing it to be used as a drop-in replacement. In addition to all the features in redis-py, walrus adds support for some newer commands, including full support for streams and consumer groups.

walrus consists of:

Pythonic container classes for the Redis data-types:HashListSetSorted SetHyperLogLogArray (custom type)BitFieldBloomFilterStreams AutocompleteCache implementation that exposes several decorators for caching function and method calls.Full-text search supporting set operations.Graph storeRate-limitingLockingActive-record style Models that support persisting structured information and performing complex queries using secondary indexes.More? More!

Models

Persistent structures implemented on top of Hashes. Supports secondary indexes to allow filtering on equality, inequality, ranges, less/greater-than, and a basic full-text search index. The full-text search features a boolean search query parser, porter stemmer, stop-word filtering, and optional double-metaphone implementation.

Found a bug?

Please open a github issue and I will try my best to fix it!

Alternative Backends

Walrus also can integrate with the Redis-like databases rlite, ledis, and vedis. Check the documentation for more details.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:别把你的天使弄丢了
下一篇:生活中要常常鼓励别人
相关文章

 发表评论

暂时没有评论,来抢沙发吧~