{
  "id": "python",
  "title": "RedisGears Python plugin",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/",
  "summary": "The RedisGears Python plugin allows you to run RedisGears functions with Python.",
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-04-22T11:55:45+02:00",
  "children": [
    {
      "id": "quickstart",
      "summary": "A quick start to learn how to use RedisGears with Python.",
      "title": "RedisGears Python quick start",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/quickstart/"
    },
    {
      "id": "install",
      "summary": "",
      "title": "Install RedisGears and the Python plugin",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/install/"
    },
    {
      "id": "recipes",
      "summary": "",
      "title": "Python-based RedisGears recipes",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/recipes/"
    }
  ],
  "page_type": "content",
  "content_hash": "3cd2b5576d00e742ecb1320afd2c001bcf7238eb147f56d54c21e2167d031f6b",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "With the RedisGears Python plugin, you can write RedisGears functions in [Python](https://www.python.org/) and run them on a [Redis Software](https://redis.io/docs/latest/operate/rs/) cluster.\n\nThe Python plugin allows both batch processing and event-driven processing.\n\nBefore you can run RedisGears with Python, you will need to [install the RedisGears module and the Python plugin](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/installing-redisgears#install-redisgears) on your Redis Software cluster and [enable them for your database](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/install).\n\nOnce you have written your code, upload it to a node on your Redis Software cluster. Use the `RG.PYEXECUTE` command with the `redis-cli` command-line tool to run your code."
    },
    {
      "id": "more-info",
      "title": "More info",
      "role": "content",
      "text": "- [RedisGears Python quick start](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/quickstart)\n- [RedisGears recipes](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/python/recipes)"
    }
  ],
  "examples": []
}
