graphql-core
GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL.
Install
graphql-core on PyPI
pip
pip install graphql-coreuv
uv add graphql-corepoetry
poetry add graphql-corePackage facts
| License | MIT license (permissive) |
| Python support | supports the current Python release (<4,>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 69 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: graphql_core-3.2.11-py3-none-any.whl
Keywords: graphql
About graphql-core
from the package's own PyPI description — quoted content, verbatim
GraphQL-core 3
GraphQL-core 3 is a Python 3.7+ port of GraphQL.js, the JavaScript reference implementation for GraphQL, a query language for APIs created by Facebook.
PyPI version (image) Documentation Status (image) Test Status (image) Lint Status (image) Code Style (image)
The current version 3.2.11 of GraphQL-core is up-to-date with GraphQL.js version 16.14.1.
An extensive test suite with over 2500 unit tests and 100% coverage comprises a replication of the complete test suite of GraphQL.js, making sure this port is reliable and compatible with GraphQL.js.
Note that for various reasons, GraphQL-core does not use SemVer like GraphQL.js. Changes in the major version of GraphQL.js are reflected...
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
GraphQL-core is a Python implementation of the GraphQL query language specification, providing tools to build type schemas and execute queries against them with support for both synchronous and asynchronous resolvers.
Installs cleanly with minimal friction—just one runtime dependency (typing-extensions) and a pure-Python wheel. Actively maintained with a recent release 69 days ago and continuous repository activity.
MIT license permits commercial use, modification, and distribution with minimal restrictions, making it suitable for most projects including proprietary applications.
Usage
pip install graphql-core
from graphql import GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString, graphql_sync
schema = GraphQLSchema(
query=GraphQLObjectType(
name='Query',
fields={'hello': GraphQLField(GraphQLString, resolve=lambda obj, info: 'world')}))
result = graphql_sync(schema, '{ hello }')
print(result)
Requires Python 3.7 or newer.
Verdict: A production-ready, actively maintained GraphQL implementation with zero known vulnerabilities, low install friction, and permissive licensing. Well-suited as a foundation for GraphQL APIs in Python, though the documentation notes that minor version changes may include breaking API changes—use version pinning like `~= 3.2.0` when depending on it.
Needs verification
- Whether the package is suitable for high-traffic production APIs or if performance characteristics differ significantly from GraphQL.js
- Extent of community adoption and ecosystem maturity compared to alternative GraphQL frameworks for Python
Similar packages
permissive · top 1,000 on PyPI
graphenepermissive · top 1,000 on PyPI
gqlpermissive · top 1,000 on PyPI
poetry-plugin-exportpermissive · top 1,000 on PyPI
dacitepermissive · top 1,000 on PyPI
semverpermissive · top 1,000 on PyPI
uvpermissive · top 1,000 on PyPI
uv-buildpermissive · top 1,000 on PyPI
jsonpointerpermissive · top 1,000 on PyPI
poetrypermissive · top 1,000 on PyPI