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.9.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87746cbf4c74deafa44a4117bcf421c7dcd1ac7b4c4da3d05cc1998d4e6a053 |
|
MD5 | 2b45052ab34d6c48e555671e03c694d2 |
|
BLAKE2b-256 | ce25308c320b68dd966a49fdf84a745e24122d3723089861adff69dae592b167 |
Close
Hashes for bareasgi_graphql_next-3.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594c0dd0a0b061e423c51ef7d850b7db0fe53be8696438c9c5f8e42b95e6b922 |
|
MD5 | ef524ec54532222c17e5ceb4618f92e3 |
|
BLAKE2b-256 | acb9ee24590f0fe945dd246a16e1359ea15132033f0e2ed02ea9f9c366f643d8 |