Skip to content

This is the core package for using GraphQL in a custom server easily

License

Notifications You must be signed in to change notification settings

lucasrcosta/graphql-server-core

 
 

Repository files navigation

GraphQL-Server-Core

PyPI version Build Status Coverage Status

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

Existing integrations built with GraphQL-Server-Core

Server integration Package
Flask flask-graphql
Sanic sanic-graphql
AIOHTTP aiohttp-graphql
WebOb (Pyramid, TurboGears) webob-graphql
WSGI wsgi-graphql
Responder responder.ext.graphql

Other integrations using GraphQL-Core or Graphene

Server integration Package
Django graphene-django

Documentation

The graphql_server package provides these public helper functions:

  • run_http_query
  • encode_execution_results
  • laod_json_body
  • json_encode
  • json_encode_pretty

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.

About

This is the core package for using GraphQL in a custom server easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%