Flask-GraphQL
Adds GraphQL support to your Flask application
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code already using this package. The project is abandoned (last release 2019, no commits since 2023) with no declared runtime dependencies, making compatibility with current Flask and graphql-core versions uncertain. For new projects, use an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- You must have a GraphQL schema object already defined and Flask installed; the package itself declares no runtime dependencies.
- Installation friction is high; the package has been abandoned since 2019 with no updates for over 2444 days.
- The last commit was 2023-01-03, but the project is no longer actively maintained.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in commercial or private projects.
last release 2019-12-05 (2444 days) · last repo commit 2023-01-03 · 1,338 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 690,027 downloads/mo, #5,334 on PyPI
Alternatives
Verify before relying
from flask_graphql import GraphQLView
app.add_url_rule('/graphql', view_func=GraphQLView.as_view('graphql', schema=schema, graphiql=True))- Whether this package works with current versions of Flask and graphql-core (no runtime dependencies declared, compatibility unclear).
- Whether the package supports modern Python versions beyond those listed in classifiers (3.7 was the latest listed).
- Security implications of using abandoned software in production environments.
What it is and what it does
Flask-GraphQL is a lightweight integration layer that mounts a GraphQL endpoint into a Flask application. It wraps the GraphQLView class, which you register as a Flask route to handle GraphQL queries against a schema you provide. The package also optionally serves GraphiQL, a browser-based IDE for exploring and testing your GraphQL API.
The package supports batch query execution, custom context and root values, pretty-printed responses, and custom executors. You can subclass GraphQLView to implement dynamic behavior per request. However, the project has been abandoned since late 2019 with no maintenance activity, and it declares no explicit runtime dependencies, making compatibility with current Flask and GraphQL library versions uncertain.
Use it for
- Add a GraphQL endpoint to an existing Flask REST API without rewriting your application structure.
- Serve GraphiQL in development to let frontend developers explore and test your GraphQL schema interactively.
- Implement batch query support for Apollo Client or similar frameworks that benefit from query batching.
- Migrate from REST to GraphQL incrementally by running both REST and GraphQL endpoints on the same Flask app.
- Customize GraphQL execution behavior per request by subclassing GraphQLView and overriding get_root_value.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code already using this package.
The project is abandoned (last release 2019, no commits since 2023) with no declared runtime dependencies, making compatibility with current Flask and graphql-core versions uncertain. For new projects, use an actively maintained alternative.
Install
flask-graphql on PyPI
Before you install
Installation friction is high; the package has been abandoned since 2019 with no updates for over 2444 days. The last commit was 2023-01-03, but the project is no longer actively maintained. Consider whether you need ongoing support or security updates before adopting.
You must have a GraphQL schema object already defined and Flask installed; the package itself declares no runtime dependencies.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
from flask_graphql import GraphQLView
app.add_url_rule('/graphql', view_func=GraphQLView.as_view('graphql', schema=schema, graphiql=True))
Verify before relying
- Whether this package works with current versions of Flask and graphql-core (no runtime dependencies declared, compatibility unclear).
- Whether the package supports modern Python versions beyond those listed in classifiers (3.7 was the latest listed).
- Security implications of using abandoned software in production environments.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,444 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 690,027 / month, #5,334 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries |
Evidence: Flask-GraphQL-2.0.1.tar.gz
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 flask integration”
- Flask-GraphQLAdds a GraphQL endpoint to Flask applications, allowing you to serve…
- graphql-serverGraphQL-Server provides helper functions to execute GraphQL queries…
- graphene-file-uploadAdds file upload support to GraphQL mutations in Graphene-based…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also graphene-file-upload · graphql-server · graphql-server-core · gql · strawberry-graphql · graphqlclient · python-graphql-client · django-graphiql-debug-toolbar · graphql-core · sgqlc