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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c18b26f1854479c216ab5be6a869ebf6aa3903fab49f6ae358fdaf6d6e54d853 |
|
MD5 | 55edd0b7e3d8b16e67b19ec0dad72865 |
|
BLAKE2b-256 | 36b1d127dfb33b9fa803fefc7df424cc621bfcc4740d9a39b918ff71a39ef698 |
Close
Hashes for bareasgi_graphql_next-3.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d302de658937c63adb386ea5429fd1539b38528c7b4f5f5296e8b969b5715377 |
|
MD5 | 9d8df10d7aa55f9bfdb76960040e0e6b |
|
BLAKE2b-256 | 3a98526db57b46f9f3aa566aceb5df75e0f7aef36ddb8908f674a0f9305a0830 |