{
  "id": "task_libraries:redis/python",
  "path": "/exapedia/python-redis-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python Redis libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python Redis libraries connect applications to Redis, the in-memory key-value store, to read and write keys and run its commands. Higher-level libraries map Python containers and object models onto Redis keys rather than exposing raw commands. These libraries let web apps, task workers, and AI agents share cached data across processes."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python Redis libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#redis-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fakeredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#hiredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#coredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#redisvl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pottery",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F197"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#walrus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#redis-om",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#redis-py",
          "label": [
            {
              "t": "text",
              "text": "redis-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Asynchronous API",
            "Active-record models"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#redis-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fakeredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#hiredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#coredis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#redisvl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pottery",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F197"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#walrus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#redis-om",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "redis-py",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/redis/redis-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/redis"
            },
            {
              "label": "Docs",
              "href": "https://redis.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://redis.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/django/django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F139"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def set_many(self, data, timeout):\n    client = self.get_client(None, write=True)\n    pipeline = client.pipeline()\n    pipeline.mset({k: self._serializer.dumps(v) for k, v in data.items()})\n\n    if timeout is not None:\n        # Setting timeout for each key as redis does not support timeout\n        # with mset().\n        for key in data:\n            pipeline.expire(key, timeout)\n    pipeline.execute()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/django/django/blob/f24f38c6b2825f15628c07bf2892f1664eed9361/django/core/cache/backends/redis.py#L152-L162",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F138"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20redis%20for%20cache%20pipelines%2C%20Sentinel-managed%20connections%2C%20Lua-backed%20rate%20limiting%20or%20incremental%20response%20parsing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import redis\nclient = redis.Redis(host='localhost', port=6379, db=0)\nclient.set('foo', 'bar')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/redis/redis-py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "fakeredis",
          "name": [
            {
              "t": "fact",
              "fact": "F141"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/cunla/fakeredis-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/fakeredis"
            },
            {
              "label": "Docs",
              "href": "https://fakeredis.moransoftware.ca/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F148"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://fakeredis.moransoftware.ca/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F141"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import fakeredis\nclient = fakeredis.FakeStrictRedis()\nclient.set('foo', 'bar')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/cunla/fakeredis-py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=fakeredis%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F141"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F146"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "hiredis",
          "name": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/redis/hiredis-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/hiredis"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/hiredis/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/hiredis/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F154"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/redis/redis-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def read_response(\n    self, disable_decoding: bool = False, push_request: bool = False\n) -> Union[EncodableT, List[EncodableT]]:\n    while True:\n        # If `on_disconnect()` has been called, prohibit any more reads\n        # even if they could happen because data might be present.\n        # We still allow reads in progress to finish\n        if not self._connected:\n            raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR) from None\n\n        if disable_decoding:\n            response = self._reader.gets(False)\n        else:\n            response = self._reader.gets()\n\n        while response is NOT_ENOUGH_DATA:\n            await self.read_from_socket()\n            if disable_decoding:\n                response = self._reader.gets(False)\n            else:\n                response = self._reader.gets()\n        if self._hiredis_PushNotificationType is None or not isinstance(\n            response, self._hiredis_PushNotificationType\n        ):\n            break\n        response = await self.handle_push_response(response)\n        if push_request:\n            return response\n        # Otherwise read the reply the push interleaved with. Looping\n        # instead of recursing keeps a burst of consecutive push frames\n        # from growing the stack.\n\n    # if the response is a ConnectionError or the response is a list and\n    # the first item is a ConnectionError, raise it as something bad\n    # happened\n    if isinstance(response, ConnectionError):\n        raise response\n    elif (\n        isinstance(response, list)\n        and response\n        and isinstance(response[0], ConnectionError)\n    ):\n        raise response[0]\n    return response",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/redis/redis-py/blob/68b1342409df85537264b50418fc8a8bcb2dd0c7/redis/_parsers/hiredis.py#L382-L425",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20hiredis%20for%20cache%20pipelines%2C%20Sentinel-managed%20connections%2C%20Lua-backed%20rate%20limiting%20or%20incremental%20response%20parsing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F154"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import hiredis\nreader = hiredis.Reader()\nreader.feed(b'$5\\r\\nhello\\r\\n')\nprint(reader.gets())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/redis/hiredis-py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "coredis",
          "name": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/alisaifee/coredis"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/coredis"
            },
            {
              "label": "Docs",
              "href": "https://coredis.readthedocs.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://coredis.readthedocs.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/alisaifee/limits",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def register_scripts(self) -> None:\n    self.lua_moving_window = self.get_connection().register_script(\n        self.SCRIPT_MOVING_WINDOW\n    )\n    self.lua_acquire_moving_window = self.get_connection().register_script(\n        self.SCRIPT_ACQUIRE_MOVING_WINDOW\n    )\n    self.lua_clear_keys = self.get_connection().register_script(\n        self.SCRIPT_CLEAR_KEYS\n    )\n    self.lua_incr_expire = self.get_connection().register_script(\n        self.SCRIPT_INCR_EXPIRE\n    )\n    self.lua_sliding_window = self.get_connection().register_script(\n        self.SCRIPT_SLIDING_WINDOW\n    )\n    self.lua_acquire_sliding_window = self.get_connection().register_script(\n        self.SCRIPT_ACQUIRE_SLIDING_WINDOW\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/alisaifee/limits/blob/0492c4fbef45c0f66c88c5feb00cb1270af238fa/limits/aio/storage/redis/coredis.py#L95-L113",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20coredis%20for%20cache%20pipelines%2C%20Sentinel-managed%20connections%2C%20Lua-backed%20rate%20limiting%20or%20incremental%20response%20parsing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import anyio\nimport coredis\n\nasync def main():\n    async with coredis.Redis(host='127.0.0.1', port=6379, db=0) as client:\n        await client.set('foo', 1)\n\nanyio.run(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/alisaifee/coredis/6.9.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "redisvl",
          "name": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/redis/redis-vl-python"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/redisvl"
            },
            {
              "label": "Docs",
              "href": "https://docs.redisvl.com"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.redisvl.com",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from redisvl.index import SearchIndex\nindex = SearchIndex.from_dict({'index': {'name': 'my-index', 'prefix': 'rvl', 'storage_type': 'hash'}, 'fields': [{'name': 'doc-id', 'type': 'tag'}]}, redis_url='redis://localhost:6379')\nindex.create()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.redisvl.com/en/stable/api/searchindex.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "searchindex.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=redisvl%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pottery",
          "name": [
            {
              "t": "fact",
              "fact": "F197"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/brainix/pottery"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pottery"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/pottery/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/pottery/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F197"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from redis import Redis\nfrom pottery import RedisDict\nclient = Redis.from_url('redis://localhost:6379/1')\ntel = RedisDict({'jack': 4098, 'sape': 4139}, redis=client, key='tel')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/brainix/pottery",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pottery%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F197"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "walrus",
          "name": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/coleifer/walrus"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/walrus"
            },
            {
              "label": "Docs",
              "href": "https://walrus.readthedocs.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F85"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://walrus.readthedocs.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from walrus import Database\ndb = Database(decode_responses=True)\nh = db.Hash('charlie')\nh.update(name='Charlie', favorite_cat='Huey')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://walrus.readthedocs.io/en/latest/containers.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "full-text-search.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20walrus%20for%20cache%20pipelines%2C%20Sentinel-managed%20connections%2C%20Lua-backed%20rate%20limiting%20or%20incremental%20response%20parsing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "redis-om",
          "name": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/redis/redis-om-python"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/redis-om"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/redis-om/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F229"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/redis-om/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from redis_om import HashModel\n\nclass Customer(HashModel):\n    first_name: str\n\ncustomer = Customer(first_name='Andrew')\ncustomer.save()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://redis.github.io/redis-om-python/getting_started/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=redis-om%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python Redis library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#redis-py",
          "label": [
            {
              "t": "text",
              "text": "redis-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits most applications, with synchronous and asynchronous clients and atomic transactions. "
        },
        {
          "t": "link",
          "href": "#coredis",
          "label": [
            {
              "t": "text",
              "text": "coredis"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits async code that wants a typed client with cluster and Sentinel support. "
        },
        {
          "t": "link",
          "href": "#fakeredis",
          "label": [
            {
              "t": "text",
              "text": "Fakeredis"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits tests that need the Redis API without a server."
        }
      ]
    },
    {
      "q": "What is redis-py?",
      "a": [
        {
          "t": "link",
          "href": "#redis-py",
          "label": [
            {
              "t": "text",
              "text": "redis-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the Python client for the Redis database and key-value store. It provides synchronous and asynchronous clients and groups commands into atomic transactions."
        }
      ]
    },
    {
      "q": "What is hiredis?",
      "a": [
        {
          "t": "link",
          "href": "#hiredis",
          "label": [
            {
              "t": "text",
              "text": "hiredis"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python wrapper for the hiredis parser. It reads Redis protocol replies from byte streams and does no network I/O of its own."
        }
      ]
    },
    {
      "q": "What is RedisVL?",
      "a": [
        {
          "t": "link",
          "href": "#redisvl",
          "label": [
            {
              "t": "text",
              "text": "RedisVL"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python client library and CLI for using Redis as a vector database."
        }
      ]
    },
    {
      "q": "Can redis-py Pipeline or PubSub objects be shared between threads?",
      "a": [
        {
          "t": "text",
          "text": "No. A redis-py Pipeline or PubSub object should stay in the thread that created it."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, redis",
      "display": "redis-py",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, redis",
      "display": "237.5M",
      "asOf": "2026-11-17"
    },
    "F3": {
      "label": "License, redis",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, redis",
      "display": "8.1.0, Jul 2026",
      "asOf": "2026-07-30"
    },
    "F5": {
      "label": "Package release date, redis",
      "display": "Jul 2026",
      "asOf": "2026-07-30"
    },
    "F6": {
      "label": "Repository stars, redis",
      "display": "13.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Executes Redis commands, redis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Native async I/O, redis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Atomic transactions, redis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Redis Stream commands, redis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, redis",
      "display": "pip install redis",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, redis",
      "display": "Provides a Python client interface to the Redis key-value store.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, redis",
      "display": "Provides synchronous and asynchronous clients",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, redis",
      "display": "Use blocking clients or the asyncio API from the same package.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, redis",
      "display": "Groups commands into atomic transactions",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, redis",
      "display": "Use transactional pipelines to execute buffered commands atomically.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, redis",
      "display": "Pipelines cannot cross thread boundaries",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, redis",
      "display": "Keep PubSub and Pipeline objects within their owning thread.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "Quickstart, redis",
      "display": "import redis\nr = redis.Redis(host='localhost', port=6379, db=0)\nr.set('foo', 'bar')\nr.get('foo')\npipe = r.pipeline()\npipe.set('foo', 5)\npipe.set('bar', 18.5)\npipe.set('blee', \"hello world!\")\npipe.execute()\n",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Project function, redis",
      "display": "def set_many(self, data, timeout):\n    client = self.get_client(None, write=True)\n    pipeline = client.pipeline()\n    pipeline.mset({k: self._serializer.dumps(v) for k, v in data.items()})\n\n    if timeout is not None:\n        # Setting timeout for each key as redis does not support timeout\n        # with mset().\n        for key in data:\n            pipeline.expire(key, timeout)\n    pipeline.execute()\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function reference, redis",
      "display": "redis.py · set_many()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project repository, redis",
      "display": "django/django",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project stars, django/django",
      "display": "91.8K",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project push date, django/django",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F25": {
      "label": "Library name, hiredis",
      "display": "hiredis",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Monthly downloads, hiredis",
      "display": "37.5M",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "License, hiredis",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Package release, hiredis",
      "display": "3.5.0, Oct 2026",
      "asOf": "2026-10-15"
    },
    "F29": {
      "label": "Package release date, hiredis",
      "display": "Oct 2026",
      "asOf": "2026-10-15"
    },
    "F30": {
      "label": "Repository stars, hiredis",
      "display": "527",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Executes Redis commands, hiredis",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Native async I/O, hiredis",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Atomic transactions, hiredis",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Redis Stream commands, hiredis",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Install, hiredis",
      "display": "pip install hiredis",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "What it does, hiredis",
      "display": "Parses Redis protocol replies from byte streams without handling network I/O.",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths lead, hiredis",
      "display": "Parses incomplete reply streams",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths, hiredis",
      "display": "Feed byte chunks and retrieve replies when a complete response is buffered.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, hiredis",
      "display": "Decodes Unicode bulk replies",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, hiredis",
      "display": "Choose an encoding and error policy when constructing Reader.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations lead, hiredis",
      "display": "Needs separate networking code",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations, hiredis",
      "display": "Provide connection management and the network read loop elsewhere.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, hiredis",
      "display": "False can mean incomplete data",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, hiredis",
      "display": "Choose a custom sentinel when parsing native RESP booleans.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Quickstart, hiredis",
      "display": "import hiredis\nreader = hiredis.Reader()\nreader.feed(\"$5\\r\\nhello\\r\\n\")\nreader.gets()\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function, hiredis",
      "display": "async def read_response(\n    self, disable_decoding: bool = False, push_request: bool = False\n) -> Union[EncodableT, List[EncodableT]]:\n    while True:\n        # If `on_disconnect()` has been called, prohibit any more reads\n        # even if they could happen because data might be present.\n        # We still allow reads in progress to finish\n        if not self._connected:\n            raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR) from None\n\n        if disable_decoding:\n            response = self._reader.gets(False)\n        else:\n            response = self._reader.gets()\n\n        while response is NOT_ENOUGH_DATA:\n            await self.read_from_socket()\n            if disable_decoding:\n                response = self._reader.gets(False)\n            else:\n                response = self._reader.gets()\n        if self._hiredis_PushNotificationType is None or not isinstance(\n            response, self._hiredis_PushNotificationType\n        ):\n            break\n        response = await self.handle_push_response(response)\n        if push_request:\n            return response\n        # Otherwise read the reply the push interleaved with. Looping\n        # instead of recursing keeps a burst of consecutive push frames\n        # from growing the stack.\n\n    # if the response is a ConnectionError or the response is a list and\n    # the first item is a ConnectionError, raise it as something bad\n    # happened\n    if isinstance(response, ConnectionError):\n        raise response\n    elif (\n        isinstance(response, list)\n        and response\n        and isinstance(response[0], ConnectionError)\n    ):\n        raise response[0]\n    return response\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function reference, hiredis",
      "display": "hiredis.py · read_response()",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project repository, hiredis",
      "display": "redis/redis-py",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project stars, redis/redis-py",
      "display": "13.7K",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project push date, redis/redis-py",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F51": {
      "label": "Library name, coredis",
      "display": "coredis",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Monthly downloads, coredis",
      "display": "2.4M",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "License, coredis",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Package release, coredis",
      "display": "6.9.0, Aug 2026",
      "asOf": "2026-08-31"
    },
    "F55": {
      "label": "Package release date, coredis",
      "display": "Aug 2026",
      "asOf": "2026-08-31"
    },
    "F56": {
      "label": "Repository stars, coredis",
      "display": "117",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Executes Redis commands, coredis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Native async I/O, coredis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Atomic transactions, coredis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Redis Stream commands, coredis",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, coredis",
      "display": "pip install coredis",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, coredis",
      "display": "Provides an asynchronous typed Redis client with cluster and Sentinel support.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, coredis",
      "display": "Uses native asynchronous call sites",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, coredis",
      "display": "Await Redis commands in an asynchronous application.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, coredis",
      "display": "Connects to clusters and Sentinel",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, coredis",
      "display": "Use the RedisCluster and Sentinel client interfaces.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, coredis",
      "display": "Requires asynchronous call sites",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, coredis",
      "display": "Await commands instead of using a blocking client interface.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Quickstart, coredis",
      "display": "import anyio\nimport coredis\n\nasync def main() -> None:\n    client = coredis.Redis(host='127.0.0.1', port=6379, db=0, decode_responses=True)\n    # or cluster\n    # client = coredis.RedisCluster(startup_nodes=[coredis.connection.TCPLocation(\"127.0.0.1\", 6379)], decode_responses=True)\n    async with client:\n        await client.flushdb()\n\n        await client.set(\"foo\", 1)\n        assert await client.exists([\"foo\"]) == 1\n        assert await client.incr(\"foo\") == 2\n        assert await client.expire(\"foo\", 1)\n        await anyio.sleep(0.1)\n        assert await client.ttl(\"foo\") == 1\n        await anyio.sleep(1)\n        assert not await client.exists([\"foo\"])\n\n        async with client.pipeline() as pipeline:\n            pipeline.incr(\"foo\")\n            value = pipeline.get(\"foo\")\n            pipeline.delete([\"foo\"])\n\n        assert await value == \"1\"\n\nanyio.run(main, backend=\"asyncio\") # or trio\n\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function, coredis",
      "display": "def use_sentinel(\n    self,\n    service_name: str | None,\n    use_replicas: bool,\n    sentinel_kwargs: dict[str, str | float | bool] | None,\n    **options: str | float | bool,\n) -> None:\n    sentinel_configuration = []\n    connection_options = options.copy()\n\n    sentinel_configuration.extend(self.options_from_uri.locations)\n    service_name = (\n        self.options_from_uri.path.replace(\"/\", \"\")\n        if self.options_from_uri.path\n        else service_name\n    )\n\n    if service_name is None:\n        raise ConfigurationError(\"'service_name' not provided\")\n\n    self.sentinel = self.dependency.sentinel.Sentinel(\n        sentinel_configuration,\n        sentinel_kwargs={**self.parsed_auth, **(sentinel_kwargs or {})},\n        **{**self.parsed_auth, **connection_options},\n    )\n    self.storage = self.sentinel.primary_for(service_name)\n    self.storage_replica = self.sentinel.replica_for(service_name)\n    self.connection_getter = lambda readonly: (\n        self.storage_replica if readonly and use_replicas else self.storage\n    )\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function reference, coredis",
      "display": "coredis.py · use_sentinel()",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project repository, coredis",
      "display": "alisaifee/limits",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project stars, alisaifee/limits",
      "display": "657",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project push date, alisaifee/limits",
      "display": "Oct 2026",
      "asOf": "2026-10-21"
    },
    "F75": {
      "label": "Library name, walrus",
      "display": "Walrus",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, walrus",
      "display": "163.1K",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "License, walrus",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, walrus",
      "display": "0.9.8, Jan 2026",
      "asOf": "2026-01-15"
    },
    "F79": {
      "label": "Package release date, walrus",
      "display": "Jan 2026",
      "asOf": "2026-01-15"
    },
    "F80": {
      "label": "Repository stars, walrus",
      "display": "1.2K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Executes Redis commands, walrus",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Atomic transactions, walrus",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Redis Stream commands, walrus",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, walrus",
      "display": "pip install walrus",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, walrus",
      "display": "Extends redis-py with Python-style containers and higher-level Redis utilities.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, walrus",
      "display": "Adds Python-style Redis containers",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, walrus",
      "display": "Work with hashes, lists, sets, and other container wrappers.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, walrus",
      "display": "Reuses existing Redis client methods",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, walrus",
      "display": "Use Redis methods alongside the higher-level helper API.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, walrus",
      "display": "Nested atomic blocks commit separately",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, walrus",
      "display": "An inner atomic block commits independently of its outer block.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Quickstart, walrus",
      "display": "from walrus import Database\n\ndb = Database()\nsearch_index = db.Index('app-search')\n\n# Phonetic search.\nphonetic_index = db.Index('phonetic-search', metaphone=True)\n\n\n\n# Specify the document's unique ID and the content to be indexed.\nsearch_index.add('doc-1', 'this is the content of document 1')\n\n# Besides the document ID and content, we can also store metadata, which is\n# not searchable, but is returned along with the document content when a\n# search is performed.\nsearch_index.add('doc-2', 'another document', title='Another', status='1')\n\n\n\n# Update doc-1's content and metadata.\nsearch_index.update('doc-1', 'this is the new content', title='Doc 1')\n\n# Overwrite doc-2...the \"status\" metadata value set earlier will be lost.\nsearch_index.replace('doc-2', 'another document', title='Another doc')\n\n\n\nfor document in search_index.search('python AND flask'):\n    # Print the \"title\" that was stored as metadata. The \"content\" field\n    # contains the original content of the document as it was indexed.\n    print(document['title'], document['content'])\n\n",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Developer need",
      "display": "General Redis client applications",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Why choose redis",
      "display": "synchronous and asynchronous interfaces in one client package",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Developer need in introduction",
      "display": "general Redis client applications",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "When to consider coredis",
      "display": "asynchronous cluster or Sentinel interfaces drive the integration",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Developer need",
      "display": "Asynchronous Redis applications",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Why choose coredis",
      "display": "native awaitable command execution",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need in introduction",
      "display": "asynchronous Redis applications",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Python-style Redis containers",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose walrus",
      "display": "container wrappers around the Redis client",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "Python-style Redis containers",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider redis",
      "display": "the application primarily needs explicit command transactions",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Low-level incremental reply parsing",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose hiredis",
      "display": "a buffered parser without network I/O",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "low-level incremental reply parsing",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Page introduction",
      "display": "Python Redis libraries let backend developers read and write Redis data.",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "FAQ: Which Python Redis library should I choose?",
      "display": "redis-py provides a general Redis client interface.",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "FAQ: Which Python Redis library should I choose?",
      "display": "coredis provides a typed asynchronous client.",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "FAQ: Which Python Redis library should I choose?",
      "display": "Walrus adds Python-style containers and helpers.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Which Python Redis library should I choose?",
      "display": "hiredis parses replies and does not provide I/O.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Is hiredis a replacement for a Redis client?",
      "display": "hiredis parses the stream read from a Redis connection; connection and network I/O belong elsewhere.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Can a pipeline also be an atomic transaction?",
      "display": "redis-py pipelines execute atomically by default unless transactions are disabled.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Can a pipeline also be an atomic transaction?",
      "display": "coredis supports atomic command groups through the transaction argument.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Can redis-py Pipeline or PubSub objects be shared between threads?",
      "display": "Do not pass Pipeline or PubSub objects between threads.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: What happens when hiredis receives only part of a reply?",
      "display": "Reader.gets returns False when its buffer does not contain a complete reply.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: What happens when hiredis receives only part of a reply?",
      "display": "A custom notEnoughData sentinel avoids ambiguity with native RESP booleans.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Can hiredis decode Unicode replies?",
      "display": "Reader can decode bulk replies with a selected Python encoding.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does Walrus expose normal redis-py methods?",
      "display": "Database wraps the redis-py Redis class and retains its methods.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Are nested Walrus atomic blocks one transaction?",
      "display": "Nested atomic blocks commit independently.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Are nested Walrus atomic blocks one transaction?",
      "display": "Only commands sent through the context’s pipe belong to that transaction.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Do these clients support Redis Streams?",
      "display": "redis-py exposes stream commands such as xadd.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Do these clients support Redis Streams?",
      "display": "coredis provides stream-consumer helpers.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Do these clients support Redis Streams?",
      "display": "Walrus supports streams and consumer groups.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, redis",
      "display": "redis-py",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, redis",
      "display": "247.7M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, redis",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, redis",
      "display": "8.1.0",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, redis",
      "display": "Jul 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, redis",
      "display": "pip install redis",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, redis",
      "display": "import redis\nclient = redis.Redis(host='localhost', port=6379, db=0)\nclient.set('foo', 'bar')\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, redis",
      "display": "13.7K",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Asynchronous API, redis",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Active-record models, redis",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Role, redis",
      "display": "General-purpose production Redis command client",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Protocol defaults, redis",
      "display": "RESP3 wire protocol with legacy Python response shapes preserved",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Project function, redis",
      "display": "def set_many(self, data, timeout):\n    client = self.get_client(None, write=True)\n    pipeline = client.pipeline()\n    pipeline.mset({k: self._serializer.dumps(v) for k, v in data.items()})\n\n    if timeout is not None:\n        # Setting timeout for each key as redis does not support timeout\n        # with mset().\n        for key in data:\n            pipeline.expire(key, timeout)\n    pipeline.execute()",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Project source file, redis",
      "display": "django/core/cache/backends/redis.py",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Project full_name, redis",
      "display": "django/django",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project stargazers_count, redis",
      "display": "91.8K",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Library name, fakeredis",
      "display": "Fakeredis",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Monthly downloads, fakeredis",
      "display": "44.4M",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "License, fakeredis",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Package release, fakeredis",
      "display": "2.40.0",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release date, fakeredis",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Install, fakeredis",
      "display": "pip install fakeredis",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Quickstart, fakeredis",
      "display": "import fakeredis\nclient = fakeredis.FakeStrictRedis()\nclient.set('foo', 'bar')\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Official description, fakeredis",
      "display": "Implements the Redis API in Python for testing.",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Quickstart source file, fakeredis",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Repository stars, fakeredis",
      "display": "473",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Asynchronous API, fakeredis",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Active-record models, fakeredis",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Role, fakeredis",
      "display": "In-memory Redis-compatible test double",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Library name, hiredis",
      "display": "hiredis",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Monthly downloads, hiredis",
      "display": "39.1M",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "License, hiredis",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Package release, hiredis",
      "display": "3.5.0",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release date, hiredis",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Install, hiredis",
      "display": "pip install hiredis",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Quickstart, hiredis",
      "display": "import hiredis\nreader = hiredis.Reader()\nreader.feed(b'$5\\r\\nhello\\r\\n')\nprint(reader.gets())\n",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Repository stars, hiredis",
      "display": "527",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Asynchronous API, hiredis",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Active-record models, hiredis",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Role, hiredis",
      "display": "Compiled RESP response parser",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project function, hiredis",
      "display": "async def read_response(\n    self, disable_decoding: bool = False, push_request: bool = False\n) -> Union[EncodableT, List[EncodableT]]:\n    while True:\n        # If `on_disconnect()` has been called, prohibit any more reads\n        # even if they could happen because data might be present.\n        # We still allow reads in progress to finish\n        if not self._connected:\n            raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR) from None\n\n        if disable_decoding:\n            response = self._reader.gets(False)\n        else:\n            response = self._reader.gets()\n\n        while response is NOT_ENOUGH_DATA:\n            await self.read_from_socket()\n            if disable_decoding:\n                response = self._reader.gets(False)\n            else:\n                response = self._reader.gets()\n        if self._hiredis_PushNotificationType is None or not isinstance(\n            response, self._hiredis_PushNotificationType\n        ):\n            break\n        response = await self.handle_push_response(response)\n        if push_request:\n            return response\n        # Otherwise read the reply the push interleaved with. Looping\n        # instead of recursing keeps a burst of consecutive push frames\n        # from growing the stack.\n\n    # if the response is a ConnectionError or the response is a list and\n    # the first item is a ConnectionError, raise it as something bad\n    # happened\n    if isinstance(response, ConnectionError):\n        raise response\n    elif (\n        isinstance(response, list)\n        and response\n        and isinstance(response[0], ConnectionError)\n    ):\n        raise response[0]\n    return response",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project source file, hiredis",
      "display": "redis/_parsers/hiredis.py",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project full_name, hiredis",
      "display": "redis/redis-py",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project stargazers_count, hiredis",
      "display": "13.7K",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Library name, coredis",
      "display": "coredis",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Monthly downloads, coredis",
      "display": "2.5M",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "License, coredis",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Package release, coredis",
      "display": "6.9.0",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release date, coredis",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Install, coredis",
      "display": "pip install coredis",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Quickstart, coredis",
      "display": "import anyio\nimport coredis\n\nasync def main():\n    async with coredis.Redis(host='127.0.0.1', port=6379, db=0) as client:\n        await client.set('foo', 1)\n\nanyio.run(main)\n",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Repository stars, coredis",
      "display": "118",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Asynchronous API, coredis",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Active-record models, coredis",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Role, coredis",
      "display": "Async typed Redis client using anyio",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project function, coredis",
      "display": "def register_scripts(self) -> None:\n    self.lua_moving_window = self.get_connection().register_script(\n        self.SCRIPT_MOVING_WINDOW\n    )\n    self.lua_acquire_moving_window = self.get_connection().register_script(\n        self.SCRIPT_ACQUIRE_MOVING_WINDOW\n    )\n    self.lua_clear_keys = self.get_connection().register_script(\n        self.SCRIPT_CLEAR_KEYS\n    )\n    self.lua_incr_expire = self.get_connection().register_script(\n        self.SCRIPT_INCR_EXPIRE\n    )\n    self.lua_sliding_window = self.get_connection().register_script(\n        self.SCRIPT_SLIDING_WINDOW\n    )\n    self.lua_acquire_sliding_window = self.get_connection().register_script(\n        self.SCRIPT_ACQUIRE_SLIDING_WINDOW\n    )",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project source file, coredis",
      "display": "limits/aio/storage/redis/coredis.py",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project full_name, coredis",
      "display": "alisaifee/limits",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project stargazers_count, coredis",
      "display": "657",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Library name, redisvl",
      "display": "RedisVL",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Monthly downloads, redisvl",
      "display": "2.2M",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "License, redisvl",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release, redisvl",
      "display": "0.32.1",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release date, redisvl",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Install, redisvl",
      "display": "pip install redisvl",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Quickstart, redisvl",
      "display": "from redisvl.index import SearchIndex\nindex = SearchIndex.from_dict({'index': {'name': 'my-index', 'prefix': 'rvl', 'storage_type': 'hash'}, 'fields': [{'name': 'doc-id', 'type': 'tag'}]}, redis_url='redis://localhost:6379')\nindex.create()\n",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Official description, redisvl",
      "display": "Uses Redis as a vector database through a Python client and CLI.",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Quickstart source file, redisvl",
      "display": "api/searchindex (API recipe)",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Repository stars, redisvl",
      "display": "437",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Asynchronous API, redisvl",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Active-record models, redisvl",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Role, redisvl",
      "display": "Schema-driven full-text and vector search indexing",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Library name, pottery",
      "display": "Pottery",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Monthly downloads, pottery",
      "display": "764.0K",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "License, pottery",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Package release, pottery",
      "display": "3.0.1",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Package release date, pottery",
      "display": "Mar 2025",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Install, pottery",
      "display": "pip install pottery",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Quickstart, pottery",
      "display": "from redis import Redis\nfrom pottery import RedisDict\nclient = Redis.from_url('redis://localhost:6379/1')\ntel = RedisDict({'jack': 4098, 'sape': 4139}, redis=client, key='tel')\n",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Official description, pottery",
      "display": "Provides a Python interface to Redis.",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Quickstart source file, pottery",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Repository stars, pottery",
      "display": "1.2K",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Asynchronous API, pottery",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Active-record models, pottery",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Role, pottery",
      "display": "Redis-backed Python containers and coordination",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Value constraints, pottery",
      "display": "Keys and values must be JSON serializable",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Library name, walrus",
      "display": "Walrus",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Monthly downloads, walrus",
      "display": "155.7K",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "License, walrus",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release, walrus",
      "display": "0.9.8",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Package release date, walrus",
      "display": "Jan 2026",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Install, walrus",
      "display": "pip install walrus",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart, walrus",
      "display": "from walrus import Database\ndb = Database(decode_responses=True)\nh = db.Hash('charlie')\nh.update(name='Charlie', favorite_cat='Huey')\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Repository stars, walrus",
      "display": "1.2K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Asynchronous API, walrus",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Active-record models, walrus",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Role, walrus",
      "display": "Synchronous Redis containers, streams, and persisted models",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Library name, redis-om",
      "display": "Redis OM Python",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Monthly downloads, redis-om",
      "display": "148.6K",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "License, redis-om",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release, redis-om",
      "display": "1.2.0",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release date, redis-om",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Install, redis-om",
      "display": "pip install redis-om",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart, redis-om",
      "display": "from redis_om import HashModel\n\nclass Customer(HashModel):\n    first_name: str\n\ncustomer = Customer(first_name='Andrew')\ncustomer.save()\n",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Official description, redis-om",
      "display": "Maps Python objects to Redis.",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Quickstart source file, redis-om",
      "display": "getting_started (API recipe)",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Repository stars, redis-om",
      "display": "1.3K",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Asynchronous API, redis-om",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Active-record models, redis-om",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Role, redis-om",
      "display": "Declarative HashModel/JsonModel persistence and queries",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python Redis libraries redis-py coredis Walrus hiredis examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
