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
File details
Details for the file bareasgi-graphql-next-3.10.0rc1.tar.gz
.
File metadata
- Download URL: bareasgi-graphql-next-3.10.0rc1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.4 Linux/4.10.0-33-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
73144b7eaba22dd9e7fd27762fe3c82fb8090ab8b04cfe20b2d6a2428c6258d4
|
|
MD5 |
6af210d6e62699a1e4e7d19f56ef5dc8
|
|
BLAKE2b-256 |
492dc4b5e07745c0bdd46fdc9f5c22dc34775759989b1d79c906aca15b861653
|
File details
Details for the file bareasgi_graphql_next-3.10.0rc1-py3-none-any.whl
.
File metadata
- Download URL: bareasgi_graphql_next-3.10.0rc1-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.4 Linux/4.10.0-33-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7c84271daa857c7a9261b6c6ae7df4f8b4102734b454098829e657ad40458bc5
|
|
MD5 |
0bad36d457947bccfec2fe1201489391
|
|
BLAKE2b-256 |
f1de1ff5d1ce844a1c72b4e437f04f33606f5f4fcc53f671e74b3532a771f1b8
|