{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"Redis OM provides declarative object mapping and data validation for Redis, letting you define Python models with type annotations that automatically serialize to and query from Redis with Pydantic validation.","skillfed_tags":["orm","redis-client","pydantic-integration"],"use_cases":["Build a user or customer database in Redis with automatic validation and type safety using Pydantic field types like EmailStr.","Query Redis data using Python expressions (e.g., Customer.find(Customer.age > 30)) when RediSearch is installed.","Persist application state or cache objects with automatic expiration and unique key generation without manual Redis commands.","Define nested data structures with embedded models and let Redis OM handle serialization to Redis hashes or JSON.","Migrate from a traditional ORM to Redis while keeping familiar declarative model syntax and validation rules."],"what_it_does":"Redis OM is a Python library that bridges Pydantic models and Redis storage, letting you define data schemas as Python classes with type annotations and automatically handle serialization, validation, and persistence. It generates unique primary keys, manages expiration, and provides fluent query APIs when RediSearch is available. The library sits on top of the redis client and integrates Pydantic's validation system, so any Pydantic validator (like EmailStr) works as a field type. Basic operations\u2014creating, saving, retrieving, and expiring objects\u2014work with any Redis instance; richer query expressions and embedded models require RediSearch and RedisJSON modules.\n\nYou define a model by subclassing HashModel or other base classes, annotate fields with Python types, then call save() to persist to Redis and use class methods like get() or find() to retrieve data. The library automatically manages indexes when configured and handles the Redis protocol details, so you work with Python objects rather than raw key-value commands.","worth_installing":"Yes, if you are already using Redis and want to avoid raw key-value code. The library is actively maintained, has no security vulnerabilities, and low install friction. It is worth installing for projects that benefit from Pydantic validation and declarative models; however, confirm that your Redis deployment includes RediSearch and RedisJSON if you need advanced querying beyond basic save/get operations."},"id":"redis-om","links":{"html":"https://skillfed.io/packages/redis-om","md":"https://skillfed.io/packages/redis-om.md","pypi":"https://pypi.org/project/redis-om/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-13","license_spdx":null,"license_treatment":"permissive","name":"redis-om","python_support":"supports_current","summary":"Object mappings, and more, for Redis."},"popularity":{"monthly_downloads":242878,"position":8832,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
