skillfed

graphql-server-core

GraphQL Server tools for powering your server

graphql-server-core v2.0.0 720.5K downloads/30d#5,235 on PyPI134
Permissive license MIT AGING released

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-core

uv

uv add graphql-server-core

poetry

poetry add graphql-server-core

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries

Tags

graphql server framework integrationgraphql http query handlerbuild graphql apigraphql web framework helpergraphql execution utilitiesgraphql json encodinggraphql server base library
graphqlserver-frameworkaging-maintenance

More Libraries packages