$npx skillfedfor your agent

graphene

GraphQL Framework for Python

With conditionsPyPI LibrariesReleased Nov 202441.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — graphene-3.4.3-py2.py3-none-any.whl
v3.4.3 · released 2024-11-09 · 4 runtime deps: graphql-core, graphql-relay, python-dateutil, typing-extensions

Yes, with conditions. Graphene is production-stable (Development Status 5) and has zero known vulnerabilities. However, the 643-day gap since the last release raises a maintenance concern—verify that the project's release cadence matches your risk tolerance. The aging status and reliance on external integrations for framework support mean you should confirm that your specific stack has an actively maintained integration package.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel distribution.
  • Maintenance status is aging—last release was 643 days ago—but the repository remains active with recent commits and substantial community engagement (8234 stars).

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

last release 2024-11-09 (643 days) · last repo commit 2025-09-04 · 8,234 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 41,575,770 downloads/mo, #671 on PyPI

Verify before relying

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 }')
  • Whether the 643-day gap since last release indicates active maintenance or maintenance hiatus despite recent commits
  • Python version floor and ceiling support (classifiers list 3.8–3.13 but requires_python is unspecified)
  • Current maintenance status of framework-specific integrations (graphene-django, graphene-sqlalchemy, graphene-mongo)
Same gist for agents: .md · .json

What it is and what it does

Graphene is a declarative GraphQL framework for Python that lets you define schemas using Python classes and decorators rather than raw GraphQL schema strings. It handles type resolution, field mapping, and query execution, and integrates with popular ORMs and databases through separate packages. The library depends on graphql-core for the GraphQL execution engine, graphql-relay for Relay cursor pagination support, python-dateutil for date handling, and typing-extensions for type hints.

You define your schema by subclassing graphene.ObjectType, declaring fields as class attributes, and writing resolver methods. Graphene then converts this into a GraphQL schema that can execute queries. It supports Relay-style pagination out of the box and works with any data source—SQL databases, NoSQL stores, or plain Python objects—by writing custom resolvers.

Use it for

  • Build a GraphQL API on top of a Django application using framework-specific integration
  • Expose a SQLAlchemy ORM model as a queryable GraphQL endpoint
  • Implement Relay-style cursor pagination for large result sets in a GraphQL schema
  • Define custom GraphQL types and resolvers for non-database data sources
  • Create a federated GraphQL schema compatible with Apollo Federation

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Graphene is production-stable (Development Status 5) and has zero known vulnerabilities. However, the 643-day gap since the last release raises a maintenance concern—verify that the project's release cadence matches your risk tolerance. The aging status and reliance on external integrations for framework support mean you should confirm that your specific stack has an actively maintained integration package.

Install

graphene on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 643 days ago—but the repository remains active with recent commits and substantial community engagement (8234 stars).

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

Quickstart

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 }')

Verify before relying

  • Whether the 643-day gap since last release indicates active maintenance or maintenance hiatus despite recent commits
  • Python version floor and ceiling support (classifiers list 3.8–3.13 but requires_python is unspecified)
  • Current maintenance status of framework-specific integrations (graphene-django, graphene-sqlalchemy, graphene-mongo)

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
graphql-coregraphql-relaypython-dateutiltyping-extensions
MaintenanceAging 643 days since the last release
Last repo commit
First released
Downloads41,575,770 / month, #671 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries

Evidence: graphene-3.4.3-py2.py3-none-any.whl

Tags

Capabilities
graphql schema builder pythongraphql api frameworkgraphql relay supportpython graphql typesgraphql data layergraphql server pythongraphql schema generation
Topics
graphqlapi-frameworkschema-builder
PyPI keywords
apigraphqlprotocolrestrelaygraphene

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “graphql schema builder python”

  • grapheneGraphene is a Python library for building GraphQL schemas and types…
  • strawberry-graphqlStrawberry GraphQL is a Python library for building GraphQL APIs…
  • ariadne-codegenGenerates fully typed, asynchronous Python GraphQL clients from a…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also graphene-django · graphene-federation · graphene-sqlalchemy · graphene-file-upload · graphene-django-optimizer · ariadne · graphene-pydantic · starlette-graphene3 · graphql-relay · gql