bareASGI-graphql
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
If you wish to install with the grapheme option:
pip install 'bareasgi-graphql[graphene]'
Usage
You can register the graphql controller with the add_graphql function.
from bareasgi import Application
from bareasgi_graphql import add_graphql
import graphql
# Get the schema ...
schema = graphql.GraphQLSchema( ... )
import uvicorn
app = Application()
add_graphql(app, schema)
uvicorn.run(app, port=9009)
Development
To develop with the graphene optional package:
poetry install --extras graphene
Metadata
Release files for bareASGI-graphQL 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bareasgi_graphql-5.0.0.tar.gz | 18.3 kB | Without provenance | Details for bareasgi_graphql-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bareasgi_graphql-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for bareasgi_graphql-5.0.0-py3-none-any.whl |
Total release size: 42.8 kB
Release files / bareasgi_graphql-5.0.0.tar.gz
| Download URL | bareasgi_graphql-5.0.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f5cbac0a204ebf937163218d5beeea37099d21c3b1983d697285359e4bc7ae4
|
|
BLAKE2b-256 checksum How to use checksums |
b700c6c436e2fc8fe0cd3665ad9de6cc36002ec8382254389abe13a1ad75484b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / bareasgi_graphql-5.0.0-py3-none-any.whl
| Download URL | bareasgi_graphql-5.0.0-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24f90c8e9a96a5861737b17d63ac76d74fd1f85e42cb2fa3c63480a518e1b448
|
|
BLAKE2b-256 checksum How to use checksums |
f3b2a3079ff2763ab2c1bc68ec1d1f8c05b033ee5465378a52fbc6ac04e531ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for bareASGI-graphQL 5.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.