{
  "id": "task_libraries:graphql/python",
  "path": "/exapedia/python-graphql-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python GraphQL libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python GraphQL libraries build GraphQL APIs that let clients ask for exactly the fields they need in one request. A code-first library generates the schema from Python classes rather than from a schema written in the GraphQL language. These libraries let web and mobile apps fetch nested data from a backend in a single round trip."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python GraphQL libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#graphql-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#strawberry",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ariadne",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#strawberry-graphql-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F190"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene-sqlalchemy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ]
          ],
          "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": "#graphql-core",
          "label": [
            {
              "t": "text",
              "text": "graphql-core"
            }
          ]
        },
        {
          "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",
            "Annotation-based schema",
            "Django model mapping"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#graphql-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#strawberry",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ariadne",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#strawberry-graphql-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F190"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene-sqlalchemy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#graphene-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "graphql-core",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/graphql-python/graphql-core"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/graphql-core"
            },
            {
              "label": "Docs",
              "href": "https://graphql-core-3.readthedocs.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ],
          "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://graphql-core-3.readthedocs.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/graphql-python/gql",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F139"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def __init__(\n    self,\n    request: Union[DocumentNode, \"GraphQLRequest\", str],\n    *,\n    variable_values: Optional[Dict[str, Any]] = None,\n    operation_name: Optional[str] = None,\n    extensions: Optional[Dict[str, Any]] = None,\n):\n    \"\"\"Initialize a GraphQL request.\n\n    :param request: GraphQL request as DocumentNode object or as a string.\n         If string, it will be converted to DocumentNode.\n    :param variable_values: Dictionary of input parameters (Default: None).\n    :param operation_name: Name of the operation that shall be executed.\n        Only required in multi-operation documents (Default: None).\n    :param extensions: Dictionary of protocol extensions (Default: None).\n        This is passed as the top-level \"extensions\" key in the request\n        payload, as defined in the GraphQL over HTTP spec.\n    :return: a :class:`GraphQLRequest <gql.GraphQLRequest>`\n             which can be later executed or subscribed by a\n             :class:`Client <gql.client.Client>`, by an\n             :class:`async session <gql.client.AsyncClientSession>` or by a\n             :class:`sync session <gql.client.SyncClientSession>`\n    :raises graphql.error.GraphQLError: if a syntax error is encountered.\n    \"\"\"\n    if isinstance(request, str):\n        source = Source(request, \"GraphQL request\")\n        self.document = parse(source)\n    elif isinstance(request, DocumentNode):\n        self.document = request\n    elif not isinstance(request, GraphQLRequest):\n        raise TypeError(f\"Unexpected type for GraphQLRequest: {type(request)}\")\n\n    if isinstance(request, GraphQLRequest):\n        self.document = request.document\n        if variable_values is None:\n            variable_values = request.variable_values\n        if operation_name is None:\n            operation_name = request.operation_name\n        if extensions is None:\n            extensions = request.extensions\n\n    self.variable_values: Optional[Dict[str, Any]] = variable_values\n    self.operation_name: Optional[str] = operation_name\n    self.extensions: Optional[Dict[str, Any]] = extensions\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/graphql-python/gql/blob/6ccc0cc2c27e95b19bf2871e7ec3e1b48283c6a0/gql/graphql_request.py#L10-L54",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F138"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20graphql-core%20to%20build%20GraphQL%20schemas%2C%20inspect%20resolver%20types%20and%20execute%20API%20queries&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": "from graphql import (\n    GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString)\n\nschema = GraphQLSchema(\n    query=GraphQLObjectType(\n        name='RootQueryType',\n        fields={\n            'hello': GraphQLField(\n                GraphQLString,\n                resolve=lambda obj, info: 'world')\n        }))\n\nfrom graphql import graphql_sync\n\nsource = '{ hello }'\n\nprint(graphql_sync(schema, source))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/graphql-python/graphql-core/git/blobs/0846e5dd32ab2828fd4416367645fd859ab4a044",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "graphene",
          "name": [
            {
              "t": "fact",
              "fact": "F141"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/graphql-python/graphene"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/graphene"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/graphql-python/graphene",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F141"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def create_schema() -> graphene.Schema:\n    return graphene.Schema(\n        query=GrapheneQuery,\n        mutation=GrapheneMutation,\n        subscription=GrapheneSubscription,\n        types=types(),\n    )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster/blob/b0099d257d666c1c95e8079254060d2ab2caa6f3/python_modules/dagster-graphql/dagster_graphql/schema/__init__.py#L82-L88",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20graphene%20to%20build%20GraphQL%20schemas%2C%20inspect%20resolver%20types%20and%20execute%20API%20queries&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": "F141"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import graphene\n\nclass Query(graphene.ObjectType):\n    hello = graphene.String(description='A typical hello world')\n\n    def resolve_hello(self, info):\n        return 'World'\n\nschema = graphene.Schema(query=Query)\n\nquery = '''\n    query SayHello {\n      hello\n    }\n'''\nresult = schema.execute(query)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/graphql-python/graphene/git/blobs/7beb975c2b8a3a65ea404a3889cc69f567a61ed5",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F146"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "strawberry",
          "name": [
            {
              "t": "fact",
              "fact": "F157"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/strawberry-graphql/strawberry"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/strawberry-graphql"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/strawberry-graphql/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F63"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/strawberry-graphql/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F157"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/strawberry-graphql/strawberry-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def get_possible_type_definitions(\n    gql_type: StrawberryObjectDefinition | StrawberryType | type,\n) -> Generator[StrawberryObjectDefinition]:\n    \"\"\"Resolve all possible type definitions for gql_type.\n\n    Args:\n    ----\n        gql_type:\n            The type to retrieve possibilities from.\n\n    Yields:\n    ------\n        All possibilities for the type\n\n    \"\"\"\n    if isinstance(gql_type, StrawberryObjectDefinition):\n        yield gql_type\n        return\n\n    for t in get_possible_types(gql_type):\n        if isinstance(t, StrawberryObjectDefinition):\n            yield t\n        elif has_object_definition(t):\n            yield t.__strawberry_definition__\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/strawberry-graphql/strawberry-django/blob/8fc7e3b78b78d51d9aaf0161e9da0ba0d23dbabc/strawberry_django/utils/inspect.py#L134-L157",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20strawberry-graphql%20to%20build%20GraphQL%20schemas%2C%20inspect%20resolver%20types%20and%20execute%20API%20queries&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": "F157"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import strawberry\n\n\n@strawberry.type\nclass User:\n    name: str\n    age: int\n\n\n@strawberry.type\nclass Query:\n    @strawberry.field\n    def user(self) -> User:\n        return User(name=\"Patrick\", age=100)\n\n\nschema = strawberry.Schema(query=Query)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/strawberry-graphql/strawberry/git/blobs/613af6a7c6c09e06fd9667a1beb2c59a1c58c46e",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F162"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ariadne",
          "name": [
            {
              "t": "fact",
              "fact": "F173"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mirumee/ariadne"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/ariadne"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/ariadne/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F87"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/ariadne/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F173"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/getsentry/sentry-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@ensure_integration_enabled(AriadneIntegration, old_handle_errors)\ndef _sentry_patched_handle_graphql_errors(\n    errors: \"List[GraphQLError]\", *args: \"Any\", **kwargs: \"Any\"\n) -> \"GraphQLResult\":\n    result = old_handle_errors(errors, *args, **kwargs)\n\n    event_processor = _make_response_event_processor(result[1])\n    sentry_sdk.get_isolation_scope().add_event_processor(event_processor)\n\n    client = get_client()\n    if client.is_active():\n        with capture_internal_exceptions():\n            for error in errors:\n                event, hint = event_from_exception(\n                    error,\n                    client_options=client.options,\n                    mechanism={\n                        \"type\": AriadneIntegration.identifier,\n                        \"handled\": False,\n                    },\n                )\n                capture_event(event, hint=hint)\n\n    return result\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/getsentry/sentry-python/blob/7499ae7eb078337df175410d74fefc0822cab1fc/sentry_sdk/integrations/ariadne.py#L70-L93",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20ariadne%20to%20build%20GraphQL%20schemas%2C%20inspect%20resolver%20types%20and%20execute%20API%20queries&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": "F173"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from ariadne import ObjectType, QueryType, gql, make_executable_schema\nfrom ariadne.asgi import GraphQL\n\n# Define types using Schema Definition Language (https://graphql.org/learn/schema/)\n# Wrapping string in gql function provides validation and better error traceback\ntype_defs = gql(\"\"\"\n    type Query {\n        people: [Person!]!\n    }\n\n    type Person {\n        firstName: String\n        lastName: String\n        age: Int\n        fullName: String\n    }\n\"\"\")\n\n# Map resolver functions to Query fields using QueryType\nquery = QueryType()\n\n# Resolvers are simple python functions\n@query.field(\"people\")\ndef resolve_people(*_):\n    return [\n        {\"firstName\": \"John\", \"lastName\": \"Doe\", \"age\": 21},\n        {\"firstName\": \"Bob\", \"lastName\": \"Boberson\", \"age\": 24},\n    ]\n\n\n# Map resolver functions to custom type fields using ObjectType\nperson = ObjectType(\"Person\")\n\n@person.field(\"fullName\")\ndef resolve_person_fullname(person, *_):\n    return \"%s %s\" % (person[\"firstName\"], person[\"lastName\"])\n\n# Create executable GraphQL schema\nschema = make_executable_schema(type_defs, query, person)\n\n# Create an ASGI app using the schema, running in debug mode\napp = GraphQL(schema, debug=True)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/mirumee/ariadne/git/blobs/88278f63fe4389553ac86dfc9bbda6883d6b7e01",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F178"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "strawberry-graphql-django",
          "name": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/strawberry-graphql/strawberry-django"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/strawberry-graphql-django"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/strawberry-graphql-django/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F197"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/strawberry-graphql-django/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F190"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/netbox-community/netbox",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def optimize_prefetch_queryset(queryset: QuerySet, info: Info) -> QuerySet:\n    \"\"\"\n    Apply strawberry-django's query optimizer to a queryset used inside a GenericForeignKey prefetch.\n    \"\"\"\n    if ext := optimizer_ctx.get():\n        return ext.optimize(queryset, info)\n\n    return optimize(queryset, info)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/netbox-community/netbox/blob/691bb37fb891f64803eb7ec56fe5ebba287b0efe/netbox/netbox/graphql/optimization.py#L15-L22",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F205"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=strawberry-graphql-django%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F190"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "# schema.py\nimport strawberry\nimport strawberry_django\nfrom strawberry_django.optimizer import DjangoOptimizerExtension\nfrom .types import Fruit\n\n\n@strawberry.type\nclass Query:\n    fruits: list[Fruit] = strawberry_django.field()\n\n\nschema = strawberry.Schema(\n    query=Query,\n    extensions=[DjangoOptimizerExtension],\n)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/strawberry-graphql/strawberry-django/git/blobs/de9bd79d62fde734c1c5041472642f1654f4c9cc",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "graphene-sqlalchemy",
          "name": [
            {
              "t": "fact",
              "fact": "F208"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/graphql-python/graphene-sqlalchemy"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/graphene-sqlalchemy"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/graphql-python/graphene-sqlalchemy",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F208"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/art1415926535/graphene-sqlalchemy-filter",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F224"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def __init__(\n    self, connection: type[Connection], *args: Any, **kwargs: Any\n) -> None:\n    if self.filter_arg not in kwargs:\n        model = connection._meta.node._meta.model\n\n        with suppress(KeyError):\n            kwargs[self.filter_arg] = self.filters[model]\n\n    super().__init__(connection, *args, **kwargs)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/art1415926535/graphene-sqlalchemy-filter/blob/09b3343bf1a6d03645fd03a565711991b0d6e350/graphene_sqlalchemy_filter/connection_field.py#L76-L85",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=graphene-sqlalchemy%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F208"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from sqlalchemy import Column, Integer, String\n\nfrom sqlalchemy.ext.declarative import declarative_base\n\nBase = declarative_base()\n\nclass UserModel(Base):\n    __tablename__ = 'user'\n    id = Column(Integer, primary_key=True)\n    name = Column(String)\n    last_name = Column(String)\n\nimport graphene\nfrom graphene_sqlalchemy import SQLAlchemyObjectType\n\nclass User(SQLAlchemyObjectType):\n    class Meta:\n        model = UserModel\n        # use `only_fields` to only expose specific fields ie \"name\"\n        # only_fields = (\"name\",)\n        # use `exclude_fields` to exclude specific fields ie \"last_name\"\n        # exclude_fields = (\"last_name\",)\n\nclass Query(graphene.ObjectType):\n    users = graphene.List(User)\n\n    def resolve_users(self, info):\n        query = User.get_query(info)  # SQLAlchemy query\n        return query.all()\n\nschema = graphene.Schema(query=Query)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/graphql-python/graphene-sqlalchemy/git/blobs/9b617069a0198ec4f095af4a6b74686d3950e830",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F213"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "graphene-django",
          "name": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/graphql-python/graphene-django"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/graphene-django"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/graphql-python/graphene-django",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/netbox-community/netbox",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def dispatch(self, request, *args, **kwargs):\n    config = get_config()\n\n    # Enforce GRAPHQL_ENABLED\n    if not config.GRAPHQL_ENABLED:\n        return HttpResponseNotFound(\"The GraphQL API is not enabled.\")\n\n    # Attempt to authenticate the user using a DRF token, if provided\n    if not request.user.is_authenticated:\n        authenticator = TokenAuthentication()\n        try:\n            auth_info = authenticator.authenticate(request)\n            if auth_info is not None:\n                request.user = auth_info[0]  # User object\n        except AuthenticationFailed as exc:\n            return HttpResponseForbidden(exc.detail)\n\n    # Enforce LOGIN_REQUIRED\n    if settings.LOGIN_REQUIRED and not request.user.is_authenticated:\n\n        # If this is a human user, send a redirect to the login page\n        if self.request_wants_html(request):\n            return redirect_to_login(reverse('graphql'))\n\n        return HttpResponseForbidden(\"No credentials provided.\")\n\n    return super().dispatch(request, *args, **kwargs)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/netbox-community/netbox/blob/be903a64a2f5e2b6d070ac40adbff13197656242/netbox/netbox/graphql/views.py#L18-L44",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=graphene-django%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import graphene\nfrom graphene_django import DjangoObjectType\nfrom .models import MyModel\n\nclass MyModelType(DjangoObjectType):\n    class Meta:\n        model = MyModel\n\nclass Query(graphene.ObjectType):\n    mymodels = graphene.List(MyModelType)\n\n    def resolve_mymodels(self, info, **kwargs):\n        return MyModel.objects.all()\n\nschema = graphene.Schema(query=Query)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/graphql-python/graphene-django/git/blobs/686f5ec0de4cd88a98bfbd67d7d04451be2cc053",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python GraphQL library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#strawberry",
          "label": [
            {
              "t": "text",
              "text": "Strawberry"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits new APIs built from dataclasses and type annotations. "
        },
        {
          "t": "link",
          "href": "#graphene",
          "label": [
            {
              "t": "text",
              "text": "Graphene"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits code-first APIs with existing Django or SQLAlchemy integrations. "
        },
        {
          "t": "link",
          "href": "#ariadne",
          "label": [
            {
              "t": "text",
              "text": "Ariadne"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits teams that write the schema first in SDL."
        }
      ]
    },
    {
      "q": "How do I build a GraphQL server in Python?",
      "a": [
        {
          "t": "text",
          "text": "Define a schema with "
        },
        {
          "t": "link",
          "href": "#strawberry",
          "label": [
            {
              "t": "text",
              "text": "Strawberry"
            }
          ]
        },
        {
          "t": "text",
          "text": " types, "
        },
        {
          "t": "link",
          "href": "#graphene",
          "label": [
            {
              "t": "text",
              "text": "Graphene"
            }
          ]
        },
        {
          "t": "text",
          "text": " classes, or an SDL string for "
        },
        {
          "t": "link",
          "href": "#ariadne",
          "label": [
            {
              "t": "text",
              "text": "Ariadne"
            }
          ]
        },
        {
          "t": "text",
          "text": ", then bind resolvers to its fields. Each framework serves the schema through an ASGI or WSGI integration."
        }
      ]
    },
    {
      "q": "What is Graphene Django?",
      "a": [
        {
          "t": "link",
          "href": "#graphene-django",
          "label": [
            {
              "t": "text",
              "text": "Graphene Django"
            }
          ]
        },
        {
          "t": "text",
          "text": " generates Graphene types from Django models and serves them through a Django GraphQL view."
        }
      ]
    },
    {
      "q": "What is graphql-core?",
      "a": [
        {
          "t": "link",
          "href": "#graphql-core",
          "label": [
            {
              "t": "text",
              "text": "graphql-core"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the low-level GraphQL type system, parser, validator, and executor for Python. Higher-level frameworks such as Graphene and Strawberry run on top of it."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, graphql-core",
      "display": "GraphQL-core",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, graphql-core",
      "display": "75.0M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, graphql-core",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, graphql-core",
      "display": "3.3.2, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F5": {
      "label": "Package release date, graphql-core",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F6": {
      "label": "Repository stars, graphql-core",
      "display": "536",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Async resolvers, graphql-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Subscriptions, graphql-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Relay helpers, graphql-core",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Install, graphql-core",
      "display": "pip install graphql-core",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "What it does, graphql-core",
      "display": "Provides explicit GraphQL schema-building and query-execution APIs.",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths lead, graphql-core",
      "display": "Exposes schema and execution primitives",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths, graphql-core",
      "display": "Build schema objects and execute queries directly.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, graphql-core",
      "display": "Runs asynchronous resolvers",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, graphql-core",
      "display": "Return coroutine objects from resolvers and await query execution.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations lead, graphql-core",
      "display": "Minor releases can break APIs",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations, graphql-core",
      "display": "Pin a compatible minor series when declaring the dependency.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, graphql-core",
      "display": "Resolver arguments differ from JavaScript",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, graphql-core",
      "display": "Receive GraphQL arguments as keyword arguments after the info parameter.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, graphql-core",
      "display": "import asyncio\nfrom graphql import (\n    graphql, GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString)\n\n\nasync def resolve_hello(obj, info):\n    await asyncio.sleep(3)\n    return 'world'\n\nschema = GraphQLSchema(\n    query=GraphQLObjectType(\n        name='RootQueryType',\n        fields={\n            'hello': GraphQLField(\n                GraphQLString,\n                resolve=resolve_hello)\n        }))\n\n\nasync def main():\n    query = '{ hello }'\n    print('Fetching the result...')\n    result = await graphql(schema, query)\n    print(result)\n\n\nasyncio.run(main())\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, graphql-core",
      "display": "def __init__(\n    self,\n    request: Union[DocumentNode, \"GraphQLRequest\", str],\n    *,\n    variable_values: Optional[Dict[str, Any]] = None,\n    operation_name: Optional[str] = None,\n    extensions: Optional[Dict[str, Any]] = None,\n):\n    # ...\n    if isinstance(request, str):\n        source = Source(request, \"GraphQL request\")\n        self.document = parse(source)\n    elif isinstance(request, DocumentNode):\n        self.document = request\n    elif not isinstance(request, GraphQLRequest):\n        raise TypeError(f\"Unexpected type for GraphQLRequest: {type(request)}\")\n\n    if isinstance(request, GraphQLRequest):\n        self.document = request.document\n        if variable_values is None:\n            variable_values = request.variable_values\n        if operation_name is None:\n            operation_name = request.operation_name\n        if extensions is None:\n            extensions = request.extensions\n\n    self.variable_values: Optional[Dict[str, Any]] = variable_values\n    self.operation_name: Optional[str] = operation_name\n    self.extensions: Optional[Dict[str, Any]] = extensions\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, graphql-core",
      "display": "graphql_request.py · __init__()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, graphql-core",
      "display": "graphql-python/gql",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, graphql-python/gql",
      "display": "1.7K",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, graphql-python/gql",
      "display": "Sep 2026",
      "asOf": "2026-09-27"
    },
    "F26": {
      "label": "Library name, graphene",
      "display": "Graphene",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, graphene",
      "display": "30.3M",
      "asOf": "2026-11-16"
    },
    "F28": {
      "label": "License, graphene",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, graphene",
      "display": "3.4.3, Nov 2024",
      "asOf": "2024-11-09"
    },
    "F30": {
      "label": "Package release date, graphene",
      "display": "Nov 2024",
      "asOf": "2024-11-09"
    },
    "F31": {
      "label": "Repository stars, graphene",
      "display": "8.2K",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Async resolvers, graphene",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Subscriptions, graphene",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Federation, graphene",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Relay helpers, graphene",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, graphene",
      "display": "pip install graphene",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, graphene",
      "display": "Builds GraphQL API schemas using Python classes.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, graphene",
      "display": "Defines schemas with Python classes",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, graphene",
      "display": "Describe API fields in Python instead of writing SDL separately.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, graphene",
      "display": "Includes Relay support",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, graphene",
      "display": "Build Relay-compatible APIs with the bundled Relay helpers.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, graphene",
      "display": "Field names change to camelCase",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, graphene",
      "display": "Disable auto_camelcase to preserve Python field names in the schema.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, graphene",
      "display": "GraphQL-core versions are constrained",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, graphene",
      "display": "Keep GraphQL-core within the dependency range required by Graphene.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Quickstart, graphene",
      "display": "import graphene\n\nclass Query(graphene.ObjectType):\n    hello = graphene.String(description='A typical hello world')\n\n    def resolve_hello(self, info):\n        return 'World'\n\nschema = graphene.Schema(query=Query)\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function, graphene",
      "display": "def create_schema() -> graphene.Schema:\n    return graphene.Schema(\n        query=GrapheneQuery,\n        mutation=GrapheneMutation,\n        subscription=GrapheneSubscription,\n        types=types(),\n    )\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function reference, graphene",
      "display": "__init__.py · create_schema()",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project repository, graphene",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project stars, dagster-io/dagster",
      "display": "16.4K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project push date, dagster-io/dagster",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F52": {
      "label": "Library name, strawberry-graphql",
      "display": "Strawberry",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Monthly downloads, strawberry-graphql",
      "display": "6.7M",
      "asOf": "2026-11-16"
    },
    "F54": {
      "label": "License, strawberry-graphql",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Package release, strawberry-graphql",
      "display": "0.341.2, Nov 2026",
      "asOf": "2026-11-07"
    },
    "F56": {
      "label": "Package release date, strawberry-graphql",
      "display": "Nov 2026",
      "asOf": "2026-11-07"
    },
    "F57": {
      "label": "Repository stars, strawberry-graphql",
      "display": "4.7K",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Async resolvers, strawberry-graphql",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Subscriptions, strawberry-graphql",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Federation, strawberry-graphql",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Relay helpers, strawberry-graphql",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Install, strawberry-graphql",
      "display": "pip install \"strawberry-graphql[cli]\"",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "What it does, strawberry-graphql",
      "display": "Builds GraphQL schemas from Python dataclasses and type annotations.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths lead, strawberry-graphql",
      "display": "Uses Python type annotations",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths, strawberry-graphql",
      "display": "Describe field types through ordinary Python annotations.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths lead, strawberry-graphql",
      "display": "Includes Apollo Federation",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths, strawberry-graphql",
      "display": "Build federated services without adding a separate federation package.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations lead, strawberry-graphql",
      "display": "Sync resolvers block their worker",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations, strawberry-graphql",
      "display": "Use async resolvers or move blocking work into a thread.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Quickstart, strawberry-graphql",
      "display": "import strawberry\n\n\n@strawberry.type\nclass User:\n    name: str\n    age: int\n\n\n@strawberry.type\nclass Query:\n    @strawberry.field\n    def user(self) -> User:\n        return User(name=\"Patrick\", age=100)\n\n\nschema = strawberry.Schema(query=Query)\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function, strawberry-graphql",
      "display": "def get_possible_type_definitions(\n    gql_type: StrawberryObjectDefinition | StrawberryType | type,\n) -> Generator[StrawberryObjectDefinition]:\n    \"\"\"Resolve all possible type definitions for gql_type.\n\n    Args:\n    ----\n        gql_type:\n            The type to retrieve possibilities from.\n\n    Yields:\n    ------\n        All possibilities for the type\n\n    \"\"\"\n    if isinstance(gql_type, StrawberryObjectDefinition):\n        yield gql_type\n        return\n\n    for t in get_possible_types(gql_type):\n        if isinstance(t, StrawberryObjectDefinition):\n            yield t\n        elif has_object_definition(t):\n            yield t.__strawberry_definition__\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project function reference, strawberry-graphql",
      "display": "inspect.py · get_possible_type_definitions()",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project repository, strawberry-graphql",
      "display": "strawberry-graphql/strawberry-django",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project stars, strawberry-graphql/strawberry-django",
      "display": "504",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project push date, strawberry-graphql/strawberry-django",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F76": {
      "label": "Library name, ariadne",
      "display": "Ariadne",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Monthly downloads, ariadne",
      "display": "2.0M",
      "asOf": "2026-11-16"
    },
    "F78": {
      "label": "License, ariadne",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Package release, ariadne",
      "display": "1.1.1, Oct 2026",
      "asOf": "2026-10-07"
    },
    "F80": {
      "label": "Package release date, ariadne",
      "display": "Oct 2026",
      "asOf": "2026-10-07"
    },
    "F81": {
      "label": "Repository stars, ariadne",
      "display": "2.3K",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Async resolvers, ariadne",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Subscriptions, ariadne",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Federation, ariadne",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Relay helpers, ariadne",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Install, ariadne",
      "display": "pip install ariadne",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "What it does, ariadne",
      "display": "Builds GraphQL servers around schemas written in SDL.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, ariadne",
      "display": "Starts with SDL schemas",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, ariadne",
      "display": "Write the public schema first, then attach Python resolver functions.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths lead, ariadne",
      "display": "Supports async and sync resolvers",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths, ariadne",
      "display": "Use asynchronous or synchronous Python resolver functions.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, ariadne",
      "display": "Subscriptions need an ASGI server",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, ariadne",
      "display": "Use ASGI for WebSocket or server-sent event subscriptions.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, ariadne",
      "display": "from ariadne import ObjectType, QueryType, gql, make_executable_schema\nfrom ariadne.asgi import GraphQL\n\n# Define types using Schema Definition Language (https://graphql.org/learn/schema/)\n# Wrapping string in gql function provides validation and better error traceback\ntype_defs = gql(\"\"\"\n    type Query {\n        people: [Person!]!\n    }\n\n    type Person {\n        firstName: String\n        lastName: String\n        age: Int\n        fullName: String\n    }\n\"\"\")\n\n# Map resolver functions to Query fields using QueryType\nquery = QueryType()\n\n# Resolvers are simple python functions\n@query.field(\"people\")\ndef resolve_people(*_):\n    return [\n        {\"firstName\": \"John\", \"lastName\": \"Doe\", \"age\": 21},\n        {\"firstName\": \"Bob\", \"lastName\": \"Boberson\", \"age\": 24},\n    ]\n\n\n# Map resolver functions to custom type fields using ObjectType\nperson = ObjectType(\"Person\")\n\n@person.field(\"fullName\")\ndef resolve_person_fullname(person, *_):\n    return \"%s %s\" % (person[\"firstName\"], person[\"lastName\"])\n\n# Create executable GraphQL schema\nschema = make_executable_schema(type_defs, query, person)\n\n# Create an ASGI app using the schema, running in debug mode\napp = GraphQL(schema, debug=True)\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Developer need",
      "display": "Schemas written as Python classes",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Why choose graphene",
      "display": "class-based schema definitions",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Developer need in introduction",
      "display": "schemas written as Python classes",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "When to consider strawberry-graphql",
      "display": "field types should follow Python annotations",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Schemas from type annotations",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose strawberry-graphql",
      "display": "ordinary Python field annotations",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "schemas from type annotations",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider ariadne",
      "display": "SDL defines the public schema contract",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Public contracts written in SDL",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose ariadne",
      "display": "schema-first resolver binding",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "public contracts written in SDL",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider graphene",
      "display": "Python classes should define the schema",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Direct schema and query APIs",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose graphql-core",
      "display": "explicit schema and execution APIs",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "direct schema and query APIs",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "When to consider ariadne",
      "display": "starting from existing SDL schemas",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Page introduction",
      "display": "Python GraphQL libraries let API developers define schemas and execute GraphQL requests.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: What is the best Python GraphQL library?",
      "display": "Choose Graphene for class-based Python schemas.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: What is the best Python GraphQL library?",
      "display": "Choose Strawberry for schemas built from Python type annotations.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: What is the best Python GraphQL library?",
      "display": "Choose Ariadne for schema-first API development.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: What is the best Python GraphQL library?",
      "display": "Use GraphQL-core for direct schema-building and query-execution APIs.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Graphene vs Strawberry: which should I choose?",
      "display": "Graphene defines schema fields through Python classes and explicit field objects.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Graphene vs Strawberry: which should I choose?",
      "display": "Strawberry uses Python annotations and dataclass-style type definitions.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: What is the difference between code-first and schema-first GraphQL?",
      "display": "Graphene’s code-first approach describes the API in Python rather than separate SDL.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: What is the difference between code-first and schema-first GraphQL?",
      "display": "Ariadne starts with the schema definition and attaches Python resolver functions.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Is GraphQL-core interchangeable with Graphene?",
      "display": "GraphQL-core provides explicit schema and query-execution APIs.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Is GraphQL-core interchangeable with Graphene?",
      "display": "Graphene adds a class-based schema interface.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Is GraphQL-core interchangeable with Graphene?",
      "display": "Graphene also declares a compatible GraphQL-core dependency range.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: How do I create a Python GraphQL server with Ariadne?",
      "display": "Define SDL, bind resolvers, build an executable schema, and create an ASGI GraphQL app.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Why do Ariadne subscriptions need an ASGI server?",
      "display": "Subscriptions require long-lived streaming connections; Ariadne provides them through ASGI rather than WSGI.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, graphql-core",
      "display": "graphql-core",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, graphql-core",
      "display": "79.1M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, graphql-core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, graphql-core",
      "display": "3.3.2",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, graphql-core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, graphql-core",
      "display": "python -m pip install graphql-core",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, graphql-core",
      "display": "from graphql import (\n    GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString)\n\nschema = GraphQLSchema(\n    query=GraphQLObjectType(\n        name='RootQueryType',\n        fields={\n            'hello': GraphQLField(\n                GraphQLString,\n                resolve=lambda obj, info: 'world')\n        }))\n\nfrom graphql import graphql_sync\n\nsource = '{ hello }'\n\nprint(graphql_sync(schema, source))\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, graphql-core",
      "display": "536",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Annotation-based schema, graphql-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Django model mapping, graphql-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Schema authoring role, graphql-core",
      "display": "Low-level GraphQL type system, parser, validation, and query execution; used underneath higher-level frameworks.",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Dependency constraints, graphql-core",
      "display": "No requires_dist entries in the official exact-version package metadata.",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Project function, graphql-core",
      "display": "def __init__(\n    self,\n    request: Union[DocumentNode, \"GraphQLRequest\", str],\n    *,\n    variable_values: Optional[Dict[str, Any]] = None,\n    operation_name: Optional[str] = None,\n    extensions: Optional[Dict[str, Any]] = None,\n):\n    \"\"\"Initialize a GraphQL request.\n\n    :param request: GraphQL request as DocumentNode object or as a string.\n         If string, it will be converted to DocumentNode.\n    :param variable_values: Dictionary of input parameters (Default: None).\n    :param operation_name: Name of the operation that shall be executed.\n        Only required in multi-operation documents (Default: None).\n    :param extensions: Dictionary of protocol extensions (Default: None).\n        This is passed as the top-level \"extensions\" key in the request\n        payload, as defined in the GraphQL over HTTP spec.\n    :return: a :class:`GraphQLRequest <gql.GraphQLRequest>`\n             which can be later executed or subscribed by a\n             :class:`Client <gql.client.Client>`, by an\n             :class:`async session <gql.client.AsyncClientSession>` or by a\n             :class:`sync session <gql.client.SyncClientSession>`\n    :raises graphql.error.GraphQLError: if a syntax error is encountered.\n    \"\"\"\n    if isinstance(request, str):\n        source = Source(request, \"GraphQL request\")\n        self.document = parse(source)\n    elif isinstance(request, DocumentNode):\n        self.document = request\n    elif not isinstance(request, GraphQLRequest):\n        raise TypeError(f\"Unexpected type for GraphQLRequest: {type(request)}\")\n\n    if isinstance(request, GraphQLRequest):\n        self.document = request.document\n        if variable_values is None:\n            variable_values = request.variable_values\n        if operation_name is None:\n            operation_name = request.operation_name\n        if extensions is None:\n            extensions = request.extensions\n\n    self.variable_values: Optional[Dict[str, Any]] = variable_values\n    self.operation_name: Optional[str] = operation_name\n    self.extensions: Optional[Dict[str, Any]] = extensions\n",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Project source file, graphql-core",
      "display": "gql/graphql_request.py",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Project full_name, graphql-core",
      "display": "graphql-python/gql",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project stargazers_count, graphql-core",
      "display": "1.7K",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Library name, graphene",
      "display": "Graphene",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Monthly downloads, graphene",
      "display": "32.0M",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "License, graphene",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Package release, graphene",
      "display": "3.4.3",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release date, graphene",
      "display": "Nov 2024",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Install, graphene",
      "display": "pip install \"graphene>=3.1\"",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Quickstart, graphene",
      "display": "import graphene\n\nclass Query(graphene.ObjectType):\n    hello = graphene.String(description='A typical hello world')\n\n    def resolve_hello(self, info):\n        return 'World'\n\nschema = graphene.Schema(query=Query)\n\nquery = '''\n    query SayHello {\n      hello\n    }\n'''\nresult = schema.execute(query)\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Repository stars, graphene",
      "display": "8.2K",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Annotation-based schema, graphene",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Django model mapping, graphene",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Schema authoring role, graphene",
      "display": "Code-first ObjectType fields and Schema; separate ORM integrations.",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Dependency constraints, graphene",
      "display": "graphql-core<3.3,>=3.1; graphql-relay<3.3,>=3.1; python-dateutil<3,>=2.7.0; typing-extensions<5,>=4.7.1; ruff==0.5.0; extra == \"dev\"; types-python-dateutil<3,>=2.8.1; extra == \"dev\"; mypy<2,>=1.10; extra == \"dev\"; pytest<9,>=8; extra == \"dev\"; pytest-benchmark<5,>=4; extra == \"dev\"; pytest-cov<6,>=5; extra == \"dev\"; pytest-mock<4,>=3; extra == \"dev\"; pytest-asyncio<2,>=0.16; extra == \"dev\"; coveralls<5,>=3.3; extra == \"dev\"; pytest<9,>=8; extra == \"test\"; pytest-benchmark<5,>=4; extra == \"test\"; pytest-cov<6,>=5; extra == \"test\"; pytest-mock<4,>=3; extra == \"test\"; pytest-asyncio<2,>=0.16; extra == \"test\"; coveralls<5,>=3.3; extra == \"test\"",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project function, graphene",
      "display": "def create_schema() -> graphene.Schema:\n    return graphene.Schema(\n        query=GrapheneQuery,\n        mutation=GrapheneMutation,\n        subscription=GrapheneSubscription,\n        types=types(),\n    )\n",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project source file, graphene",
      "display": "python_modules/dagster-graphql/dagster_graphql/schema/__init__.py",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Project full_name, graphene",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Project stargazers_count, graphene",
      "display": "16.4K",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Library name, strawberry-graphql",
      "display": "Strawberry",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Monthly downloads, strawberry-graphql",
      "display": "7.1M",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "License, strawberry-graphql",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Package release, strawberry-graphql",
      "display": "0.341.2",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Package release date, strawberry-graphql",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Install, strawberry-graphql",
      "display": "pip install \"strawberry-graphql[cli]\"",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Quickstart, strawberry-graphql",
      "display": "import strawberry\n\n\n@strawberry.type\nclass User:\n    name: str\n    age: int\n\n\n@strawberry.type\nclass Query:\n    @strawberry.field\n    def user(self) -> User:\n        return User(name=\"Patrick\", age=100)\n\n\nschema = strawberry.Schema(query=Query)\n",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Repository stars, strawberry-graphql",
      "display": "4.7K",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Annotation-based schema, strawberry-graphql",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Django model mapping, strawberry-graphql",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Schema authoring role, strawberry-graphql",
      "display": "Python annotated types and resolvers converted into a schema.",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Dependency constraints, strawberry-graphql",
      "display": "graphql-core<3.4.0,>=3.3.0; typing-extensions>=4.14.0; python-dateutil>=2.7; packaging>=23; cross-web>=0.6.0; aiohttp<4,>=3.7.4.post0; extra == \"aiohttp\"; protobuf>=3.20; extra == \"apollo-federation\"; starlette>=0.18.0; extra == \"asgi\"; python-multipart>=0.0.7; extra == \"asgi\"; chalice>=1.22; extra == \"chalice\"; channels>=4.0.0; extra == \"channels\"; django>=5.2; extra == \"channels\"; asgiref>=3.2; extra == \"channels\"; typer>=0.12.4; extra == \"cli\"; pygments>=2.3; extra == \"cli\"; rich>=12.0.0; extra == \"cli\"; libcst>=1.9.0; extra == \"cli\"; starlette>=0.18.0; extra == \"cli\"; uvicorn>=0.11.6; extra == \"cli\"; websockets<17,>=15.0.1; extra == \"cli\"; python-multipart>=0.0.7; extra == \"cli\"; rich>=12.0.0; extra == \"debug\"; libcst>=1.9.0; extra == \"debug\"; django>=5.2; extra == \"django\"; asgiref>=3.2; extra == \"django\"; fastapi>=0.65.2; extra == \"fastapi\"; python-multipart>=0.0.7; extra == \"fastapi\"; flask>=1.1; extra == \"flask\"; litestar>=2; extra == \"litestar\"; opentelemetry-api<2; extra == \"opentelemetry\"; opentelemetry-sdk<2; extra == \"opentelemetry\"; pydantic>1.6.1; extra == \"pydantic\"; pyinstrument>=4.0.0; extra == \"pyinstrument\"; quart>=0.19.3; extra == \"quart\"; sanic>=20.12.2; extra == \"sanic\"",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project function, strawberry-graphql",
      "display": "def get_possible_type_definitions(\n    gql_type: StrawberryObjectDefinition | StrawberryType | type,\n) -> Generator[StrawberryObjectDefinition]:\n    \"\"\"Resolve all possible type definitions for gql_type.\n\n    Args:\n    ----\n        gql_type:\n            The type to retrieve possibilities from.\n\n    Yields:\n    ------\n        All possibilities for the type\n\n    \"\"\"\n    if isinstance(gql_type, StrawberryObjectDefinition):\n        yield gql_type\n        return\n\n    for t in get_possible_types(gql_type):\n        if isinstance(t, StrawberryObjectDefinition):\n            yield t\n        elif has_object_definition(t):\n            yield t.__strawberry_definition__\n",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project source file, strawberry-graphql",
      "display": "strawberry_django/utils/inspect.py",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project full_name, strawberry-graphql",
      "display": "strawberry-graphql/strawberry-django",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project stargazers_count, strawberry-graphql",
      "display": "504",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Library name, ariadne",
      "display": "Ariadne",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Monthly downloads, ariadne",
      "display": "2.1M",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "License, ariadne",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Package release, ariadne",
      "display": "1.1.1",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release date, ariadne",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Install, ariadne",
      "display": "pip install ariadne",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Quickstart, ariadne",
      "display": "from ariadne import ObjectType, QueryType, gql, make_executable_schema\nfrom ariadne.asgi import GraphQL\n\n# Define types using Schema Definition Language (https://graphql.org/learn/schema/)\n# Wrapping string in gql function provides validation and better error traceback\ntype_defs = gql(\"\"\"\n    type Query {\n        people: [Person!]!\n    }\n\n    type Person {\n        firstName: String\n        lastName: String\n        age: Int\n        fullName: String\n    }\n\"\"\")\n\n# Map resolver functions to Query fields using QueryType\nquery = QueryType()\n\n# Resolvers are simple python functions\n@query.field(\"people\")\ndef resolve_people(*_):\n    return [\n        {\"firstName\": \"John\", \"lastName\": \"Doe\", \"age\": 21},\n        {\"firstName\": \"Bob\", \"lastName\": \"Boberson\", \"age\": 24},\n    ]\n\n\n# Map resolver functions to custom type fields using ObjectType\nperson = ObjectType(\"Person\")\n\n@person.field(\"fullName\")\ndef resolve_person_fullname(person, *_):\n    return \"%s %s\" % (person[\"firstName\"], person[\"lastName\"])\n\n# Create executable GraphQL schema\nschema = make_executable_schema(type_defs, query, person)\n\n# Create an ASGI app using the schema, running in debug mode\napp = GraphQL(schema, debug=True)\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Repository stars, ariadne",
      "display": "2.3K",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Annotation-based schema, ariadne",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Django model mapping, ariadne",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Schema authoring role, ariadne",
      "display": "SDL-first server construction with explicit resolver binding and ASGI/WSGI integrations.",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Dependency constraints, ariadne",
      "display": "graphql-core<3.4,>=3.2.0; starlette<2.0,>0.17; typing-extensions>=4.6.0; python-multipart>=0.0.13; extra == \"asgi-file-uploads\"; ipdb; extra == \"dev\"; aiodataloader>=0.2.0; extra == \"sqlalchemy\"; sqlalchemy[asyncio]>=2.0.0; extra == \"sqlalchemy\"; opentelemetry-api; extra == \"telemetry\"; aiodataloader; extra == \"test\"; freezegun; extra == \"test\"; httpx; extra == \"test\"; opentelemetry-api; extra == \"test\"; pytest; extra == \"test\"; pytest-asyncio; extra == \"test\"; pytest-benchmark; extra == \"test\"; pytest-cov; extra == \"test\"; pytest-mock; extra == \"test\"; python-multipart>=0.0.13; extra == \"test\"; syrupy; extra == \"test\"; werkzeug; extra == \"test\"; ty>=0.0.15; extra == \"types\"",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "SQLAlchemy integration, ariadne",
      "display": "Official1.1.1 README advertises automated SQLAlchemy2.0 resolver integration and N+1 prevention; its sqlalchemy extra declares sqlalchemy[asyncio]>=2.0.0.",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project function, ariadne",
      "display": "@ensure_integration_enabled(AriadneIntegration, old_handle_errors)\ndef _sentry_patched_handle_graphql_errors(\n    errors: \"List[GraphQLError]\", *args: \"Any\", **kwargs: \"Any\"\n) -> \"GraphQLResult\":\n    result = old_handle_errors(errors, *args, **kwargs)\n\n    event_processor = _make_response_event_processor(result[1])\n    sentry_sdk.get_isolation_scope().add_event_processor(event_processor)\n\n    client = get_client()\n    if client.is_active():\n        with capture_internal_exceptions():\n            for error in errors:\n                event, hint = event_from_exception(\n                    error,\n                    client_options=client.options,\n                    mechanism={\n                        \"type\": AriadneIntegration.identifier,\n                        \"handled\": False,\n                    },\n                )\n                capture_event(event, hint=hint)\n\n    return result\n",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project source file, ariadne",
      "display": "sentry_sdk/integrations/ariadne.py",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Project full_name, ariadne",
      "display": "getsentry/sentry-python",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Project stargazers_count, ariadne",
      "display": "2.2K",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Library name, strawberry-graphql-django",
      "display": "strawberry-graphql-django",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Monthly downloads, strawberry-graphql-django",
      "display": "2.0M",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "License, strawberry-graphql-django",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Package release, strawberry-graphql-django",
      "display": "0.96.3",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Package release date, strawberry-graphql-django",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Install, strawberry-graphql-django",
      "display": "pip install strawberry-graphql-django",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Quickstart, strawberry-graphql-django",
      "display": "# schema.py\nimport strawberry\nimport strawberry_django\nfrom strawberry_django.optimizer import DjangoOptimizerExtension\nfrom .types import Fruit\n\n\n@strawberry.type\nclass Query:\n    fruits: list[Fruit] = strawberry_django.field()\n\n\nschema = strawberry.Schema(\n    query=Query,\n    extensions=[DjangoOptimizerExtension],\n)\n",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Official description, strawberry-graphql-django",
      "display": "Extends Strawberry GraphQL for Django.",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Quickstart source file, strawberry-graphql-django",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Repository stars, strawberry-graphql-django",
      "display": "504",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Annotation-based schema, strawberry-graphql-django",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Django model mapping, strawberry-graphql-django",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Schema authoring role, strawberry-graphql-django",
      "display": "Django-model type/field generation, filtering, pagination, and query optimization within Strawberry.",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Dependency constraints, strawberry-graphql-django",
      "display": "asgiref>=3.8; django>=5.2; strawberry-graphql>=0.330.3; django-debug-toolbar>=6.0.0; extra == \"debug-toolbar\"; django-choices-field>=2.2.2; extra == \"enum\"; django-polymorphic>=4.0.0; extra == \"polymorphic\"",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Project function, strawberry-graphql-django",
      "display": "def optimize_prefetch_queryset(queryset: QuerySet, info: Info) -> QuerySet:\n    \"\"\"\n    Apply strawberry-django's query optimizer to a queryset used inside a GenericForeignKey prefetch.\n    \"\"\"\n    if ext := optimizer_ctx.get():\n        return ext.optimize(queryset, info)\n\n    return optimize(queryset, info)\n",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project source file, strawberry-graphql-django",
      "display": "netbox/netbox/graphql/optimization.py",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project full_name, strawberry-graphql-django",
      "display": "netbox-community/netbox",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project stargazers_count, strawberry-graphql-django",
      "display": "21.9K",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Library name, graphene-sqlalchemy",
      "display": "Graphene SQLAlchemy",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Monthly downloads, graphene-sqlalchemy",
      "display": "1.1M",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "License, graphene-sqlalchemy",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Package release, graphene-sqlalchemy",
      "display": "2.3.0",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release date, graphene-sqlalchemy",
      "display": "Jun 2020",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Install, graphene-sqlalchemy",
      "display": "pip install \"graphene-sqlalchemy>=2.0\"",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Quickstart, graphene-sqlalchemy",
      "display": "from sqlalchemy import Column, Integer, String\n\nfrom sqlalchemy.ext.declarative import declarative_base\n\nBase = declarative_base()\n\nclass UserModel(Base):\n    __tablename__ = 'user'\n    id = Column(Integer, primary_key=True)\n    name = Column(String)\n    last_name = Column(String)\n\nimport graphene\nfrom graphene_sqlalchemy import SQLAlchemyObjectType\n\nclass User(SQLAlchemyObjectType):\n    class Meta:\n        model = UserModel\n        # use `only_fields` to only expose specific fields ie \"name\"\n        # only_fields = (\"name\",)\n        # use `exclude_fields` to exclude specific fields ie \"last_name\"\n        # exclude_fields = (\"last_name\",)\n\nclass Query(graphene.ObjectType):\n    users = graphene.List(User)\n\n    def resolve_users(self, info):\n        query = User.get_query(info)  # SQLAlchemy query\n        return query.all()\n\nschema = graphene.Schema(query=Query)\n",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Official description, graphene-sqlalchemy",
      "display": "Integrates Graphene with SQLAlchemy.",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Quickstart source file, graphene-sqlalchemy",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Repository stars, graphene-sqlalchemy",
      "display": "986",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Annotation-based schema, graphene-sqlalchemy",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Django model mapping, graphene-sqlalchemy",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Schema authoring role, graphene-sqlalchemy",
      "display": "SQLAlchemy-model types and Relay connection fields for the declared Graphene2/SQLAlchemy1 dependency generation.",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Dependency constraints, graphene-sqlalchemy",
      "display": "graphene (<3,>=2.1.3); promise (>=2.3); SQLAlchemy (<2,>=1.2); six (<2,>=1.10.0); singledispatch (<4,>=3.4.0.3); tox (==3.7.0) ; extra == 'dev'; coveralls (==1.10.0) ; extra == 'dev'; pre-commit (==1.14.4) ; extra == 'dev'; pytest (==4.3.1) ; extra == 'test'; mock (==2.0.0) ; extra == 'test'; pytest-cov (==2.6.1) ; extra == 'test'; sqlalchemy-utils (==0.33.9) ; extra == 'test'; pytest-benchmark (==3.2.1) ; extra == 'test'",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Project function, graphene-sqlalchemy",
      "display": "def __init__(\n    self, connection: type[Connection], *args: Any, **kwargs: Any\n) -> None:\n    if self.filter_arg not in kwargs:\n        model = connection._meta.node._meta.model\n\n        with suppress(KeyError):\n            kwargs[self.filter_arg] = self.filters[model]\n\n    super().__init__(connection, *args, **kwargs)\n",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Project source file, graphene-sqlalchemy",
      "display": "graphene_sqlalchemy_filter/connection_field.py",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Project full_name, graphene-sqlalchemy",
      "display": "art1415926535/graphene-sqlalchemy-filter",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Project stargazers_count, graphene-sqlalchemy",
      "display": "119",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Library name, graphene-django",
      "display": "Graphene Django",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Monthly downloads, graphene-django",
      "display": "1.1M",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "License, graphene-django",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release, graphene-django",
      "display": "3.2.3",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Package release date, graphene-django",
      "display": "Mar 2025",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Install, graphene-django",
      "display": "pip install graphene-django",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Quickstart, graphene-django",
      "display": "import graphene\nfrom graphene_django import DjangoObjectType\nfrom .models import MyModel\n\nclass MyModelType(DjangoObjectType):\n    class Meta:\n        model = MyModel\n\nclass Query(graphene.ObjectType):\n    mymodels = graphene.List(MyModelType)\n\n    def resolve_mymodels(self, info, **kwargs):\n        return MyModel.objects.all()\n\nschema = graphene.Schema(query=Query)\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Official description, graphene-django",
      "display": "Integrates Graphene with Django.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart source file, graphene-django",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Repository stars, graphene-django",
      "display": "4.4K",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Annotation-based schema, graphene-django",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Django model mapping, graphene-django",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Schema authoring role, graphene-django",
      "display": "Django-model types and Django GraphQLView integration within Graphene.",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Dependency constraints, graphene-django",
      "display": "graphene<4,>=3.0; graphql-core<4,>=3.1.0; graphql-relay<4,>=3.1.1; Django>=3.2; promise>=2.1; text-unidecode; ruff==0.1.2; extra == \"dev\"; pre-commit; extra == \"dev\"; pytest>=7.3.1; extra == \"dev\"; pytest-cov; extra == \"dev\"; pytest-random-order; extra == \"dev\"; coveralls; extra == \"dev\"; mock; extra == \"dev\"; pytz; extra == \"dev\"; django-filter>=22.1; extra == \"dev\"; pytest-django>=4.5.2; extra == \"dev\"; djangorestframework>=3.6.3; extra == \"dev\"; djangorestframework>=3.6.3; extra == \"rest-framework\"; pytest>=7.3.1; extra == \"test\"; pytest-cov; extra == \"test\"; pytest-random-order; extra == \"test\"; coveralls; extra == \"test\"; mock; extra == \"test\"; pytz; extra == \"test\"; django-filter>=22.1; extra == \"test\"; pytest-django>=4.5.2; extra == \"test\"; djangorestframework>=3.6.3; extra == \"test\"",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project function, graphene-django",
      "display": "def dispatch(self, request, *args, **kwargs):\n    config = get_config()\n\n    # Enforce GRAPHQL_ENABLED\n    if not config.GRAPHQL_ENABLED:\n        return HttpResponseNotFound(\"The GraphQL API is not enabled.\")\n\n    # Attempt to authenticate the user using a DRF token, if provided\n    if not request.user.is_authenticated:\n        authenticator = TokenAuthentication()\n        try:\n            auth_info = authenticator.authenticate(request)\n            if auth_info is not None:\n                request.user = auth_info[0]  # User object\n        except AuthenticationFailed as exc:\n            return HttpResponseForbidden(exc.detail)\n\n    # Enforce LOGIN_REQUIRED\n    if settings.LOGIN_REQUIRED and not request.user.is_authenticated:\n\n        # If this is a human user, send a redirect to the login page\n        if self.request_wants_html(request):\n            return redirect_to_login(reverse('graphql'))\n\n        return HttpResponseForbidden(\"No credentials provided.\")\n\n    return super().dispatch(request, *args, **kwargs)\n",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project source file, graphene-django",
      "display": "netbox/netbox/graphql/views.py",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project full_name, graphene-django",
      "display": "netbox-community/netbox",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Project stargazers_count, graphene-django",
      "display": "21.9K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Python GraphQL libraries Graphene Strawberry Ariadne graphql-core schema-first code-first async subscriptions federation code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
