starlette-graphene3
Use Graphene v3 on Starlette
Decision gist · record as of 2026-08-14
Yes, if you are already committed to Graphene v3 and Starlette/FastAPI and need a simple mount point. The package is stable and has no known vulnerabilities, but its dormant maintenance status (last release June 2022) means you should verify compatibility with your target versions of graphene and starlette before relying on it in production. For new projects, consider whether an actively maintained alternative better suits your timeline.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires graphene, graphql-core, and starlette as runtime dependencies; file uploading additionally requires python-multipart to be installed separately.
- Low friction; pure Python wheel with three straightforward runtime dependencies.
- Maintenance is dormant—last release June 2022, last commit September 2023—so expect no active support, though the archived flag is false and the repository remains accessible.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2022-06-01 (1535 days) · last repo commit 2023-09-11 · 106 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,821 downloads/mo, #8,681 on PyPI
Alternatives
Verify before relying
pip install starlette-graphene3
import graphene
from starlette.applications import Starlette
from starlette_graphene3 import GraphQLApp, make_graphiql_handler
class Query(graphene.ObjectType):
hello = graphene.String()
def resolve_hello(root, info):
return "world"
app = Starlette()
schema = graphene.Schema(query=Query)
app.mount("/", GraphQLApp(schema, on_get=make_graphiql_handler()))- Whether dormant maintenance (last release June 2022) poses compatibility risks with current Graphene or Starlette versions.
- Whether the package's WebSocket subscription support is production-ready or has known limitations.
- Performance characteristics under load or with large GraphQL schemas.
What it is and what it does
starlette-graphene3 is a thin ASGI adapter that lets you expose a Graphene v3 GraphQL schema through Starlette or FastAPI. It handles the plumbing of mounting a GraphQL endpoint, routing queries and mutations over HTTP, managing WebSocket connections for subscriptions, and optionally serving GraphiQL or GraphQL Playground for interactive schema exploration. The package wraps graphene, graphql-core, and starlette into a single mount point on your application.
You define your schema using Graphene's standard ObjectType, Query, Mutation, and Subscription classes, then pass it to GraphQLApp and mount it on your Starlette app. The package supports file uploads via the graphql-multipart-request-spec when python-multipart is installed. It is straightforward to integrate into existing Starlette or FastAPI projects but has been dormant since mid-2022, so it may not track the latest versions of its dependencies.
Use it for
- Add a GraphQL API endpoint to an existing Starlette or FastAPI web application without writing ASGI boilerplate.
- Serve GraphiQL or GraphQL Playground alongside your schema for interactive query development and testing.
- Handle GraphQL subscriptions over WebSocket for real-time data updates to clients.
- Accept file uploads in GraphQL mutations using the multipart request specification.
- Prototype or deploy a GraphQL backend quickly using Graphene's declarative schema syntax.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already committed to Graphene v3 and Starlette/FastAPI and need a simple mount point.
The package is stable and has no known vulnerabilities, but its dormant maintenance status (last release June 2022) means you should verify compatibility with your target versions of graphene and starlette before relying on it in production. For new projects, consider whether an actively maintained alternative better suits your timeline.
Install
starlette-graphene3 on PyPI
Before you install
Low friction; pure Python wheel with three straightforward runtime dependencies. Maintenance is dormant—last release June 2022, last commit September 2023—so expect no active support, though the archived flag is false and the repository remains accessible.
Requires graphene, graphql-core, and starlette as runtime dependencies; file uploading additionally requires python-multipart to be installed separately.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install starlette-graphene3
import graphene
from starlette.applications import Starlette
from starlette_graphene3 import GraphQLApp, make_graphiql_handler
class Query(graphene.ObjectType):
hello = graphene.String()
def resolve_hello(root, info):
return "world"
app = Starlette()
schema = graphene.Schema(query=Query)
app.mount("/", GraphQLApp(schema, on_get=make_graphiql_handler()))
Verify before relying
- Whether dormant maintenance (last release June 2022) poses compatibility risks with current Graphene or Starlette versions.
- Whether the package's WebSocket subscription support is production-ready or has known limitations.
- Performance characteristics under load or with large GraphQL schemas.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesgraphenegraphql-corestarlette |
| Maintenance | Dormant 1,535 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 247,821 / month, #8,681 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules |
Evidence: starlette_graphene3-0.6.0-py3-none-any.whl
Tags
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 api starlette fastapi”
- starlette-graphene3Mounts a GraphQL API built with Graphene v3 onto a Starlette or…
- ariadneAriadne is a Python library for building GraphQL servers using a…
- graphql-serverGraphQL-Server provides helper functions to execute GraphQL queries…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also starlette · ariadne · graphene-file-upload · graphene-django · graphql-server · graphene · graphene-federation · django-graphql-jwt · starlette-compress · starlette-admin