$npx skillfedfor your agent

graphql-core

GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL.

Worth itPyPI LibrariesReleased Jun 202684.5M downloads / moMIT licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — graphql_core-3.2.11-py3-none-any.whl
v3.2.11 · released 2026-06-05 · Python <4,>=3.7 · 1 runtime deps: typing-extensions

Yes. GraphQL-core is the reference implementation for Python, actively maintained, permissively licensed, and has minimal dependencies. Install it if you need to execute GraphQL queries in Python or build a GraphQL server. If you want a higher-level framework with schema-building helpers, consider Graphene or Ariadne instead, but they depend on graphql-core anyway.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or newer; async resolvers require asyncio support.
  • Low friction: pure Python wheel with a single runtime dependency (typing-extensions).
  • Actively maintained with recent release 70 days ago and ongoing repository activity.

License · maintenance · safety

MIT license (permissive) — MIT license (permissive) allows use in commercial and private projects with minimal restrictions—include a copy of the license and attribution.

last release 2026-06-05 (70 days) · last repo commit 2026-07-15 · 529 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,509,831 downloads/mo, #399 on PyPI

Verify before relying

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)
  • Performance characteristics and throughput limits for large or deeply nested queries.
  • Whether the package is suitable for production GraphQL servers or primarily for embedded schema execution.
  • Compatibility with existing GraphQL tooling and federation standards beyond core query execution.
Same gist for agents: .md · .json

What it is and what it does

GraphQL-core is a faithful Python port of GraphQL.js, the reference implementation for GraphQL. It provides the core machinery to build and execute GraphQL queries: you define a schema using Python classes (GraphQLObjectType, GraphQLField, etc.) that map to your data model, then execute queries against that schema using graphql_sync() for synchronous resolvers or graphql() for async ones. The library validates queries syntactically and semantically before execution, reporting detailed errors when queries fail.

The package is designed to be a low-level, standards-compliant foundation rather than a high-level framework. It replicates the complete test suite of GraphQL.js (over 2500 unit tests with 100% coverage) and stays synchronized with GraphQL.js version 16.14.1. It includes full type hints for Python and supports modern Python versions (3.7–3.14). Higher-level frameworks like Graphene and Ariadne build on top of graphql-core to provide more developer-friendly APIs.

Use it for

  • Building a GraphQL API server by defining a schema and resolver functions to fetch data from databases or services.
  • Validating and executing GraphQL queries in an embedded context (e.g., within a web framework or data pipeline).
  • Creating a GraphQL gateway or federation layer that needs to parse and execute queries against multiple schemas.
  • Testing GraphQL schema definitions and resolver logic in unit tests without a full server.
  • Integrating GraphQL query execution into a Python application that needs to support client queries.

Worth the install?

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

Worth it

Yes.

GraphQL-core is the reference implementation for Python, actively maintained, permissively licensed, and has minimal dependencies. Install it if you need to execute GraphQL queries in Python or build a GraphQL server. If you want a higher-level framework with schema-building helpers, consider Graphene or Ariadne instead, but they depend on graphql-core anyway.

Install

graphql-core on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency (typing-extensions). Actively maintained with recent release 70 days ago and ongoing repository activity. Supports Python 3.7 through 3.14.

Requires Python 3.7 or newer; async resolvers require asyncio support.

License in practice

MIT license (permissive) allows use in commercial and private projects with minimal restrictions—include a copy of the license and attribution.

Quickstart

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)

Verify before relying

  • Performance characteristics and throughput limits for large or deeply nested queries.
  • Whether the package is suitable for production GraphQL servers or primarily for embedded schema execution.
  • Compatibility with existing GraphQL tooling and federation standards beyond core query execution.

Package facts

LicenseMIT license permissive
Python supportSupports the current Python release <4,>=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceActively maintained 70 days since the last release
Last repo commit
First released
Downloads84,509,831 / month, #399 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries

Evidence: graphql_core-3.2.11-py3-none-any.whl

Tags

Capabilities
graphql server implementationgraphql schema definitiongraphql query executiongraphql api librarygraphql type systemgraphql resolvergraphql validation
Topics
graphqlquery-languageschema-validation
PyPI keywords
graphql

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 server implementation”

  • graphql-coreGraphQL-core is a Python port of the GraphQL.js reference…
  • graphql-relayProvides Relay-compliant patterns for GraphQL-core, including…
  • graphql-server-coreGraphQL-Server-Core provides base utilities and helper functions for…

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 graphql-relay · graphql-server-core · graphql-core-promise · graphql-server · ariadne · gql · graphene · strawberry-graphql · graphene-sqlalchemy · sgqlc