Home

Awesome

<img src="https://raw.githubusercontent.com/graphql-python/graphql-server/master/docs/_static/graphql-server-logo.svg" height="128px">

PyPI version Coverage Status

GraphQL-Server is a base library that serves as a helper for building GraphQL servers or integrations into existing web frameworks using GraphQL-Core.

Integrations built with GraphQL-Server

Server integrationDocs
Flaskflask
Sanicsanic
AIOHTTPaiohttp
WebOb (Pyramid, TurboGears)webob

Other integrations built with GraphQL-Server

Server integrationPackage
WSGIwsgi-graphql
Responderresponder.ext.graphql

Other integrations using GraphQL-Core or Graphene

Server integrationPackage
Djangographene-django

Documentation

The graphql_server package provides these public helper functions:

NOTE: the json_encode_pretty is kept as backward compatibility change as it uses json_encode with pretty parameter set to True.

All functions in the package are annotated with type hints and docstrings, and you can build HTML documentation from these using bin/build_docs.

You can also use one of the existing integrations listed above as blueprint to build your own integration or GraphQL server implementations.

Please let us know when you have built something new, so we can list it here.

Contributing

See CONTRIBUTING.md