Lightweight Python utilities for working with Redis.
The purpose of walrus is to make working with Redis in Python a little easier by wrapping rich objects in Pythonic containers. walrus consists of:
- Wrappers for the Redis object types:
- Hash
- List
- Set
- Sorted Set
- HyperLogLog
- Array (custom type)
- A simple Cache implementation that exposes several decorators for caching function and method calls.
- Lightweight data Model objects that support persisting structured information and performing complex queries using secondary indexes.
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.
Please open a github issue and I will try my best to fix it!
Walrus also can integrate with the Redis-like databases rlite, ledis, and vedis. Check the documentation for more details.