walrus
a set of utilities for working with redis
Decision gist · record as of 2026-08-14
Yes, with conditions. Walrus is stable, low-friction to install, and offers genuine convenience over raw redis-py for common patterns like caching and streams. However, verify the license terms before use (metadata is unclear), and be aware that maintenance is aging—the last release was 211 days ago. The experimental Models feature may not be production-ready. For straightforward Redis operations, it's a solid choice; for mission-critical systems, confirm support expectations.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Redis server.
- Low install friction; pure Python wheel.
- Maintenance status is aging—last commit was 2026-01-15 and no release in 211 days—but the repository remains active and unarchived with 1205 stars.
License · maintenance · safety
(unclear) — License treatment is unclear; no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restrictive-license contexts.
last release 2026-01-15 (211 days) · last repo commit 2026-01-15 · 1,205 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,440 downloads/mo, #11,818 on PyPI
Alternatives
Verify before relying
pip install walrus
import walrus
db = walrus.Database()
my_hash = db.Hash('my_key')
my_hash['field'] = 'value'- Exact Python version support is unspecified; classifiers list both Python 2 and 3 but requires_python is null.
- License details are not declared in package metadata; verify licensing terms in the repository.
- Stability of experimental features (Models, secondary indexes) and their production readiness.
- Default Redis connection parameters and whether they require explicit configuration.
What it is and what it does
Walrus is a lightweight wrapper around redis-py that adds Pythonic abstractions for working with Redis. It subclasses the standard redis-py client, so you can use it as a drop-in replacement while gaining access to higher-level utilities. The package provides container classes that map Redis data types (Hash, List, Set, Sorted Set, HyperLogLog, BitField, BloomFilter) to Python-like objects, plus specialized tools for streams with consumer group support, caching with decorators, full-text search with boolean queries, graph storage, rate limiting, and locking.
The package also includes experimental active-record-style Models built on Hashes, supporting secondary indexes for filtering and basic full-text search. It's designed for developers who want to work with Redis more naturally in Python without learning a separate library API. The single runtime dependency is redis itself.
Use it for
- Cache function results using decorators to avoid repeated computation or database queries.
- Implement distributed rate limiting or locking across multiple application instances.
- Build autocomplete or full-text search features on top of Redis data structures.
- Work with Redis streams and consumer groups for event processing or message queues.
- Store and query structured data using Models with secondary indexes.
- Use Bloom filters or HyperLogLog for approximate membership testing or cardinality estimation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Walrus is stable, low-friction to install, and offers genuine convenience over raw redis-py for common patterns like caching and streams. However, verify the license terms before use (metadata is unclear), and be aware that maintenance is aging—the last release was 211 days ago. The experimental Models feature may not be production-ready. For straightforward Redis operations, it's a solid choice; for mission-critical systems, confirm support expectations.
Install
walrus on PyPI
Before you install
Low install friction; pure Python wheel. Maintenance status is aging—last commit was 2026-01-15 and no release in 211 days—but the repository remains active and unarchived with 1205 stars.
Requires a running Redis server.
License in practice
License treatment is unclear; no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restrictive-license contexts.
Quickstart
pip install walrus
import walrus
db = walrus.Database()
my_hash = db.Hash('my_key')
my_hash['field'] = 'value'
Verify before relying
- Exact Python version support is unspecified; classifiers list both Python 2 and 3 but requires_python is null.
- License details are not declared in package metadata; verify licensing terms in the repository.
- Stability of experimental features (Models, secondary indexes) and their production readiness.
- Default Redis connection parameters and whether they require explicit configuration.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageredis |
| Maintenance | Aging 211 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 125,440 / month, #11,818 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: walrus-0.9.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “redis streams consumer groups”
- walrusWalrus extends the redis-py client with Pythonic container classes…
- upstash-redisHTTP-based Redis client for Python that connects to Upstash Redis via…
- coredisAn async Redis client with full type hints, supporting cluster and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also redisvl · redis-cli · flask-redis · redis · django-redis · redis-entraid · upstash-redis · redis-py-cluster · types-redis · huey