graphql-server-core
GraphQL Server tools for powering your server
What it is and what it does
GraphQL-Server-Core is a foundational library for building GraphQL servers in Python. It provides a small set of public helper functions—run_http_query, encode_execution_results, load_json_body, json_encode, and json_encode_pretty—that abstract common patterns needed when integrating GraphQL into web frameworks. The package has no runtime dependencies and is designed as a base layer on which framework-specific integrations (Flask, Sanic, AIOHTTP, Pyramid, and others) are built.
The package is mature and stable but aging. Its last release was in 2020, and it has not received updates in over five years. If you are building a new GraphQL server integration or need low-level HTTP query handling utilities, this library can serve that role, but you should verify that it works with your target Python version and consider whether a more actively maintained alternative better fits your needs.
Use it for:
- Building a custom GraphQL server integration for a web framework not already covered by existing packages.
- Handling GraphQL HTTP query execution and result encoding in a minimal, dependency-free way.
- Using as a foundation when creating a new framework-specific GraphQL adapter.
- Encoding and formatting GraphQL execution results for HTTP responses.
- Parsing and loading JSON request bodies for GraphQL queries.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
GraphQL-Server-Core provides base utilities and helper functions for building GraphQL servers or integrating GraphQL into existing web frameworks via GraphQL-Core.
Yes, but with caution. The package is stable and permissively licensed, but it is aging—no releases since 2020. Install it if you are building a custom GraphQL server integration and need low-level utilities, or if an existing framework integration you depend on still requires it. Verify compatibility with your Python version first, and consider whether a more recently maintained alternative exists for your use case.
Install
graphql-server-core on PyPI
pip
pip install graphql-server-coreuv
uv add graphql-server-corepoetry
poetry add graphql-server-coreInstalling graphql-server-core
Before you install
High install friction reported. The package is aging—last release was 2020-03-17, over five years old, and the repository shows no recent activity despite being archived=false. Maintenance status is marked 'aging' with 2341 days since the last release.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install graphql-server-core
from graphql_server import run_http_query, encode_execution_results
# Use run_http_query to handle GraphQL HTTP requests
result = run_http_query(...)
encoded = encode_execution_results(result)
No runtime dependencies listed, but package targets Python 2.7, 3.5–3.8 and PyPy; modern Python versions may face compatibility issues given the age of the last release.
Verify before relying
- Whether this package works reliably with Python 3.9+ despite classifiers only listing up to 3.8.
- Current state of the repository and whether it is actively maintained or effectively abandoned.
- Whether existing framework integrations (Flask, Sanic, AIOHTTP, etc.) still depend on this or have moved to alternatives.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | aging — 2,341 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 720,499/month — #5,235 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: graphql-server-core-2.0.0.tar.gz
Keywords: api, graphql, protocol, rest
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
graphql-coreGraphQL-core is a Python port of the GraphQL.js…
permissive · top 1,000 on PyPI
graphql-core-promiseAdds promise-based resolver and dataloader…
permissive · top 15,000 on PyPI
graphql-serverGraphQL-Server provides helper functions to…
permissive · top 15,000 on PyPI
graphql-relayProvides Relay-compliant patterns for…
permissive · top 1,000 on PyPI
Flask-GraphQLAdds a GraphQL endpoint to Flask applications,…
permissive · top 15,000 on PyPI
gqlA GraphQL client for Python that executes…
permissive · top 1,000 on PyPI
grapheneGraphene is a Python library for building…
permissive · top 1,000 on PyPI
django-graphql-jwtAdds JSON Web Token (JWT) authentication to…
permissive · top 15,000 on PyPI
graphene-djangoGraphene-Django bridges Django models and…
permissive · top 5,000 on PyPI
ariadneAriadne is a Python library for building…
permissive · top 5,000 on PyPI