|
1 |
| -GraphQL-Server |
2 |
| -============== |
| 1 | +GraphQL-Server-Core |
| 2 | +=================== |
3 | 3 |
|
4 | 4 | |Build Status| |Coverage Status| |PyPI version|
|
5 | 5 |
|
6 |
| -GraphQL Server core package. |
| 6 | +GraphQL-Server-Core is a base library that serves as a helper for |
| 7 | +building GraphQL servers or integrations into existing web frameworks |
| 8 | +using `GraphQL-Core <https://github.com/graphql-python/graphql-core>`__. |
7 | 9 |
|
8 |
| -Integrations |
9 |
| ------------- |
| 10 | +Existing integrations built with GraphQL-Server-Core |
| 11 | +---------------------------------------------------- |
10 | 12 |
|
11 |
| -GraphQL Server powers the following integrations |
| 13 | +=========================== ========================================================================================================== |
| 14 | +Server integration Package |
| 15 | +=========================== ========================================================================================================== |
| 16 | +Flask `flask-graphql <https://github.com/graphql-python/flask-graphql/>`__ |
| 17 | +Sanic `sanic-graphql <https://github.com/graphql-python/sanic-graphql/>`__ |
| 18 | +AIOHTTP `aiohttp-graphql <https://github.com/graphql-python/aiohttp-graphql>`__ |
| 19 | +WebOb (Pyramid, TurboGears) `webob-graphql <https://github.com/graphql-python/webob-graphql/>`__ |
| 20 | +WSGI `wsgi-graphql <https://github.com/moritzmhmk/wsgi-graphql>`__ |
| 21 | +Responder `responder.ext.graphql <https://github.com/kennethreitz/responder/blob/master/responder/ext/graphql.py>`__ |
| 22 | +=========================== ========================================================================================================== |
12 | 23 |
|
13 |
| -+---------------------------+----------------------------------------------------------------------------+ |
14 |
| -| Server integration | Package | |
15 |
| -+===========================+============================================================================+ |
16 |
| -| Django | `graphene-django <https://github.com/graphql-python/graphene-django/>`__ | |
17 |
| -+---------------------------+----------------------------------------------------------------------------+ |
18 |
| -| Flask | `flask-graphql <https://github.com/graphql-python/flask-graphql/>`__ | |
19 |
| -+---------------------------+----------------------------------------------------------------------------+ |
20 |
| -| Sanic | `sanic-graphql <https://github.com/graphql-python/sanic-graphql/>`__ | |
21 |
| -+---------------------------+----------------------------------------------------------------------------+ |
22 |
| -| WebOb (Pyramid, Pylons) | `webob-graphql <https://github.com/graphql-python/webob-graphql/>`__ | |
23 |
| -+---------------------------+----------------------------------------------------------------------------+ |
| 24 | +Other integrations using GraphQL-Core or Graphene |
| 25 | +------------------------------------------------- |
| 26 | + |
| 27 | +================== ======================================================================== |
| 28 | +Server integration Package |
| 29 | +================== ======================================================================== |
| 30 | +Django `graphene-django <https://github.com/graphql-python/graphene-django/>`__ |
| 31 | +================== ======================================================================== |
| 32 | + |
| 33 | +Documentation |
| 34 | +------------- |
| 35 | + |
| 36 | +The ``graphql_server`` package provides these three public helper |
| 37 | +functions: |
| 38 | + |
| 39 | +- ``run_http_query`` |
| 40 | +- ``encode_execution_results`` |
| 41 | +- ``laod_json_body`` |
| 42 | + |
| 43 | +All functions in the package are annotated with type hints and |
| 44 | +docstrings, and you can build HTML documentation from these using |
| 45 | +``bin/build_docs``. |
| 46 | + |
| 47 | +You can also use one of the existing integrations listed above as |
| 48 | +blueprint to build your own integration or GraphQL server |
| 49 | +implementations. |
| 50 | + |
| 51 | +Please let us know when you have built something new, so we can list it |
| 52 | +here. |
24 | 53 |
|
25 | 54 | .. |Build Status| image:: https://travis-ci.org/graphql-python/graphql-server-core.svg?branch=master
|
26 | 55 | :target: https://travis-ci.org/graphql-python/graphql-server-core
|
|
0 commit comments