Metadata-Version: 2.1
Name: bareasgi-graphql-next
Version: 0.1.1
Summary: GraphQL support for the bareASGI framework
Home-page: https://github.com/rob-blackbourn/bareasgi-graphql-next
Author: Rob Blackbourn
Author-email: rob.blackbourn@googlemail.com
License: Apache 2
Keywords: ASGI framework GraphQL
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries

# bareASGI-graphql-next

Support for GraphQL.

The controller provides a GraphQL GET and POST route, a WebSocket subscription server, and a Graphiql view.

## Installation

Install from the pie shop.

```bash
pip install bareasgi-graphql-next
```

## Usage

You can register the graphql controller with the `add_graphql_next` function.

```python
from bareasgi import Application
from bareasgi_graphql_next import add_graphql_next
import graphql

# Get the schema ...
schema = graphql.GraphQLSchema( ... )

import uvicorn

app = Application()
add_graphql_next(app, schema)

uvicorn.run(app, port=9009)

```



