- Notifications
You must be signed in to change notification settings - Fork70
This is the core package for using GraphQL in a custom server easily
License
graphql-python/graphql-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GraphQL-Server is a base library that serves as a helperfor building GraphQL servers or integrations into existing web frameworks usingGraphQL-Core.
Server integration | Docs |
---|---|
Flask | flask |
Sanic | sanic |
AIOHTTP | aiohttp |
WebOb (Pyramid, TurboGears) | webob |
Server integration | Package |
---|---|
WSGI | wsgi-graphql |
Responder | responder.ext.graphql |
Server integration | Package |
---|---|
Django | graphene-django |
Thegraphql_server
package provides these public helper functions:
run_http_query
encode_execution_results
load_json_body
json_encode
json_encode_pretty
NOTE: thejson_encode_pretty
is kept as backward compatibility change as it usesjson_encode
withpretty
parameter set toTrue
.
All functions in the package are annotated with type hints and docstrings,and you can build HTML documentation from these usingbin/build_docs
.
You can also use one of the existing integrations listed above asblueprint 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
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.