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.

  • support for stream APIs, plus regular and blocking zpop variants.

  • autocomplete

  • bloom filter

  • cache

  • full-text search

  • graph store

  • rate limiting

  • locks

  • experimental active-record models (secondary indexes, full-text search, composable query filters, etc)

  • more? more!

My hope is that walrus saves you time developing your application by providing useful Redis-specific components. If you have an idea for a new feature, please don’t hesitate to tell me about it.

Table of contents


Indices and tables