GraphQL support for the bareASGI framework
Project description
bareASGI-graphql-next
Graphql support for bareASGI (read the documentation)
The controller provides a GraphQL GET and POST route, a WebSocket subscription server, and a Graphiql view.
Installation
Install from the pie shop.
pip install bareasgi-graphql-next
Usage
You can register the graphql controller with the add_graphql_next
function.
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for bareasgi_graphql_next-3.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7627a4529e9b0dba21b2ec8c2717bca4435e438e2a765257abceabc204b9b9a1 |
|
MD5 | fffee1c2eeb459c166041c33fd7ed07a |
|
BLAKE2b-256 | 38e7bf0dc6b3bf86b3cdc224127c68b79a2d3190e19cf943a58097ccc8c6d9c7 |
Close
Hashes for bareasgi_graphql_next-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 813da4523fa68e07dab69a74ffefbb7e04ab27ea1df9f8cf267cd1f46fe807dd |
|
MD5 | d1ab343a66496acd8d07a108e645c1d8 |
|
BLAKE2b-256 | 258bc021d907feb366e8ca9665c73d3683c0d79ea10bd791785c0f2b6c0c761b |