Graphene
GraphQL framework for Python observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 40
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 9
- age_days: 3996
- days_rel: 662
- days_push: 363
- n_releases_24m: 4
Adoption not part of the score
8239 stars · 819 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Graphene is a code-first Python library for building GraphQL schemas and APIs, with built-in Relay support and integrations for Django, SQLAlchemy, Mongo, Flask, and other frameworks. It lets developers define types and resolvers in Python code rather than SDL, producing spec-compliant schemas usable with clients like Relay, Apollo, and gql.
Use cases
- build a graphql api in python
- add graphql support to a django app
- create relay-compliant graphql schemas
- expose sqlalchemy models over graphql
- replace a rest api with graphql
- define graphql types with python code
- serve graphql from flask
When to choose
- you prefer a code-first approach over writing SDL
- you use Django, SQLAlchemy, or Mongo and want ORM integration
- you need Relay spec support like connections and mutations
- you want a mature, widely adopted Python GraphQL library
When to avoid
- you prefer schema-first development with SDL files
- you want a newer library with async-first design like Strawberry
- your project is not Python-based
Facets
library · maturity stable
graphql api-framework web-framework web-development backend apis python cross-platform code-first relay django-integration sqlalchemy flask
7 sources
- readme: https://github.com/graphql-python/graphene · fetched 2026-08-28 · d91bd9aff9fe
- homepage: http://graphene-python.org/ · fetched 2026-08-29 · da097c9cf6ca
- site_page: https://docs.graphene-python.org/ · fetched 2026-08-29 · 95deb50893a6
- site_page: https://docs.graphene-python.org/en/latest/quickstart · fetched 2026-08-29 · 9317d8354dea
- registry_pypi: https://pypi.org/pypi/graphene/json · fetched 2026-08-29 · 367fd9a9c9bd
- registry_pypi: https://pypi.org/pypi/graphene-django/json · fetched 2026-08-29 · 3b8b0077cba3
- registry_pypi: https://pypi.org/pypi/flask-graphql/json · fetched 2026-08-29 · f6815b23076b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graphql-python/graphene | main | 52 |
| graphql-python/graphene-django | plugin | 63 |
| graphql-python/flask-graphql | plugin | 23 |
For agents
markdown · JSON · MCP: product_card(name="graphql-python/graphene")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem