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.10.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a2e52679a8d81dcdf5c79ef9e2f1cca0fba9d62ecad4a3c71828d07577ce71 |
|
MD5 | 72d871eb19cc76d92935199df8717808 |
|
BLAKE2b-256 | b41005dd168f07e676eb23a164b02e2ac56cd3a7663e9831e788126c7a4c11a2 |
Close
Hashes for bareasgi_graphql_next-3.10.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a87b75eaa227f1d6c79ef5122517344eac930cbe5820630ebddafa636a4d38 |
|
MD5 | 4c8ed1b4e8607f8886edbfbd421d09ea |
|
BLAKE2b-256 | c0610aa03624e5e91773319444c04a3ff84559b9122e327f4c0b6cfe43db59d7 |