graphql-core-promise
Add support for promise-based dataloaders and resolvers to graphql-core v3+
Decision gist · record as of 2026-08-14
Yes, if you are migrating from graphene 2 to graphene 3 and have significant promise-based resolver code you want to preserve without rewriting. The low install friction and permissive license make it a practical bridge. However, the aging maintenance status (525 days since last release) means you should verify compatibility with your target graphql-core version and be prepared to maintain a fork if upstream support lapses.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires graphql-core v3+ and Python 3.10 or later; graphene-django 3 if used with Django.
- Low install friction; pure Python wheel with only two runtime dependencies (graphql-core and promise).
- Maintenance status is aging—last release was 525 days ago, though the repository remains active with a recent commit on 2025-03-07 and no archival.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions; you must include a copy of the license and disclaimer.
last release 2025-03-07 (525 days) · last repo commit 2025-03-07 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 134,378 downloads/mo, #11,476 on PyPI
Alternatives
Verify before relying
from graphql_core_promise import PromiseExecutionContext
from graphql.execution.execute import execute
execute(schema=schema, document=document, execution_context_class=PromiseExecutionContext)- Whether promise-based execution offers performance or compatibility advantages over asyncio in typical workloads.
- Current compatibility status with graphql-core versions released after the last update (525 days ago).
- Whether the package is actively maintained or in maintenance-only mode given the aging release cycle.
What it is and what it does
graphql-core-promise bridges the gap between promise-based patterns (common in graphene 2 and JavaScript GraphQL libraries) and graphql-core v3+, which defaults to asyncio. It provides a drop-in ExecutionContext replacement that translates asyncio code into promise-based equivalents, allowing existing dataloaders and resolvers written for promise patterns to work without rewriting.
The package is particularly useful for teams migrating from graphene 2 to graphene 3 who have invested in promise-based resolver logic and want to avoid a full asyncio refactor. It integrates cleanly with graphene-django by accepting an execution_context_class argument, making it a minimal integration point rather than a wholesale architecture change.
Use it for
- Migrate graphene 2 projects to graphene 3 without rewriting all promise-based dataloaders and resolvers.
- Use promise-based patterns in graphql-core v3+ when your team is more familiar with promise semantics than asyncio.
- Integrate graphql-core-promise with graphene-django by passing PromiseExecutionContext to GraphQLView.
- Maintain backward compatibility with existing promise-based GraphQL resolver libraries during a major version upgrade.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are migrating from graphene 2 to graphene 3 and have significant promise-based resolver code you want to preserve without rewriting.
The low install friction and permissive license make it a practical bridge. However, the aging maintenance status (525 days since last release) means you should verify compatibility with your target graphql-core version and be prepared to maintain a fork if upstream support lapses.
Install
graphql-core-promise on PyPI
Before you install
Low install friction; pure Python wheel with only two runtime dependencies (graphql-core and promise). Maintenance status is aging—last release was 525 days ago, though the repository remains active with a recent commit on 2025-03-07 and no archival.
Requires graphql-core v3+ and Python 3.10 or later; graphene-django 3 if used with Django.
License in practice
BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions; you must include a copy of the license and disclaimer.
Quickstart
from graphql_core_promise import PromiseExecutionContext
from graphql.execution.execute import execute
execute(schema=schema, document=document, execution_context_class=PromiseExecutionContext)
Verify before relying
- Whether promise-based execution offers performance or compatibility advantages over asyncio in typical workloads.
- Current compatibility status with graphql-core versions released after the last update (525 days ago).
- Whether the package is actively maintained or in maintenance-only mode given the aging release cycle.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesgraphql-corepromise |
| Maintenance | Aging 525 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 134,378 / month, #11,476 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 :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: graphql_core_promise-3.4.2-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 › “promise-based graphql resolvers”
- graphql-core-promiseAdds promise-based resolver and dataloader support to graphql-core…
- ariadneAriadne is a Python library for building GraphQL servers using a…
- strawberry-graphql-djangoGenerates GraphQL types, queries, mutations, and resolvers…
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 graphql-server-core · graphql-core · vine · promise · graphql-relay · graphql-server · graphene · starlette-graphene3 · gql · Flask-GraphQL