A Python 3 port of the GraphQL.js reference implementation, providing a reliable GraphQL execution engine for Python applications.
GraphQL-core is a Python implementation of GraphQL, ported from the GraphQL.js reference implementation. It provides the core GraphQL execution engine for building and serving GraphQL schemas in Python applications, solving the need for a reliable, spec-compliant GraphQL library in the Python ecosystem.
Python developers building GraphQL APIs, especially those who need a foundational GraphQL execution engine compatible with the reference implementation and modern Python versions.
Developers choose GraphQL-core for its strict compatibility with GraphQL.js, extensive test coverage, and Pythonic design with full type hint support, making it a trusted foundation for higher-level GraphQL frameworks in Python.
A Python 3 port of the GraphQL.js reference implementation of GraphQL.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Faithfully ports GraphQL.js with over 2600 unit tests and 100% coverage, ensuring adherence to the GraphQL specification and robust performance, as highlighted in the README.
Offers a Pythonic API with extensive type hints and support for Python 3.7 to 3.14, leveraging contemporary language features for better developer experience.
Provides both synchronous and asynchronous execution via `graphql_sync` and `graphql`, allowing seamless integration with async/await patterns, as demonstrated in the usage examples.
Serves as the core engine for popular frameworks like Graphene, Ariadne, and Strawberry, proving its reliability and extensibility in the Python GraphQL community.
Does not follow SemVer; minor versions can introduce breaking changes, requiring careful dependency pinning and potential migration efforts, as warned in the README.
Requires manual schema construction and integration with web frameworks, making it less suitable for rapid development compared to higher-level alternatives that abstract these details.
Focuses on the execution engine, lacking built-in HTTP server, authentication, or advanced GraphQL features like subscriptions without additional setup or external libraries.