Metadata-Version: 2.1
Name: bareasgi_graphql_next
Version: 3.0.0
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
Description: # bareASGI-graphql-next
        
        Graphql support for [bareASGI](http://github.com/rob-blackbourn/bareasgi) (read the [documentation](https://bareasgi-graphql-next.readthedocs.io/en/latest/))
        
        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)
        
        ```
        
        
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
Description-Content-Type: text/markdown
