# redis/redis-om-python

Object mapping, and more, for Redis and Python

Repository: https://github.com/redis/redis-om-python
Canonical: https://ross.abutalabs.com/products/redis-om-python
Language: Python
License: MIT
License Family: permissive
Topics: redis, python, pydantic, asyncio
Last push: 2026-08-18T19:08:34+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 74, longevity 100
- inputs: {"age_days": 1829, "days_push": 15, "days_rel": 173, "gap_med": 17.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1315, forks 126 (observed 2026-08-28T04:04:20.574575+00:00)

## What it is
Redis OM Python is a declarative object-mapping library for Redis that lets you model Redis data with Pydantic-based classes. It provides automatic secondary-index generation, data validation, serialization, and fluent query APIs including embedded models.

## Use cases
- model redis data in python with declarative classes
- validate and serialize data before persisting to redis
- query redis with a fluent api instead of raw commands
- automatically create secondary indexes for redis data
- store and query json documents in redis
- use pydantic models as redis orm

## When to choose
- you want an ORM-like abstraction over Redis in Python
- you need declarative validation and indexing for Redis data
- you're already using Pydantic and want Redis persistence
- you need rich queries over RedisJSON documents via RediSearch

## When to avoid
- you only need a simple key-value client - use redis-py directly
- you don't control your Redis deployment and can't load RedisJSON/RediSearch modules
- you need a mature GA library - this is labeled a preview release

## Facets
- artifact type: library
- maturity: active
- function: orm, database, serialization, search-engine, caching
- domain: databases, developer-tools, backend, web-development
- platform: python
- tags: redis, pydantic, object-mapping, asyncio, redisearch, redisjson, data-modeling

## Member repositories
- redis/redis-om-python (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.574575+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:43.048193+00:00, confidence not recorded.
  - readme: https://github.com/redis/redis-om-python (fetched 2026-08-28T04:04:20.574575+00:00, sha 0f3f78bda228)
- Data as of 2026-08-30T08:39:29.467469+00:00.
