graphene
GraphQL Framework for Python
Install
graphene on PyPI
pip
pip install grapheneuv
uv add graphenepoetry
poetry add graphenePackage facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — graphql-core, graphql-relay, python-dateutil, typing-extensions |
| Maintenance | aging — 642 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: graphene-3.4.3-py2.py3-none-any.whl
Keywords: api, graphql, protocol, rest, relay, graphene
About graphene
from the package's own PyPI description — quoted content, verbatim
Graphene Logo (image) Graphene PyPI version (image) Coverage Status (image) https://dcbadge.vercel.app/api/server/T6Gp6NFYHe?style=flat (image)
���� Join the community on Discord
We are looking for contributors! Please check the current issues to see how you can help ������
Introduction
Graphene is an opinionated Python library for building GraphQL schemas/types fast and easily.
- Easy to use: Graphene helps you use GraphQL in Python without effort.
- Relay: Graphene has builtin support for Relay.
- Data agnostic: Graphene supports any kind of data source: SQL (Django, SQLAlchemy), Mongo, custom Python objects, etc. We believe that by providing a complete API you could plug Graphene anywhere your data lives and make your data available through GraphQL.
...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Graphene is a Python library for building GraphQL schemas and types declaratively, supporting multiple data sources and providing built-in Relay support.
Low friction installation with four lightweight runtime dependencies (graphql-core, graphql-relay, python-dateutil, typing-extensions). Maintenance status is aging—last release was 642 days ago—but the repository remains active with recent commits, suggesting stable production use.
MIT license permits unrestricted commercial and private use, modification, and distribution with minimal obligations, making it suitable for most projects without licensing friction.
Usage
pip install graphene
import graphene
class Query(graphene.ObjectType):
hello = graphene.String()
def resolve_hello(self, info):
return 'World'
schema = graphene.Schema(query=Query)
result = schema.execute('{ hello }')
Verdict: Graphene is a mature, permissively licensed GraphQL framework suitable for production use. Its aging maintenance status (642 days since last release) warrants monitoring, but active repository commits and zero known vulnerabilities indicate stable ongoing support. Low install friction and broad Python version support (3.8–3.13) make it accessible for new projects.
Needs verification
- Whether the 642-day release gap reflects deliberate stability or reduced active development
- Current community activity level and responsiveness to issues beyond commit history
- Performance characteristics and scalability limits for large schemas
Similar packages
permissive · top 1,000 on PyPI
graphql-corepermissive · top 1,000 on PyPI
graphql-relaypermissive · top 1,000 on PyPI
isodurationpermissive · top 1,000 on PyPI
pre-commitpermissive · top 1,000 on PyPI
virtualenvpermissive · top 100 on PyPI
sphinxcontrib-qthelppermissive · top 1,000 on PyPI
parsedatetimepermissive · top 1,000 on PyPI
marshmallowpermissive · top 1,000 on PyPI
aws-lambda-powertoolspermissive · top 1,000 on PyPI