Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bareasgi-graphql-next-3.7.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bareasgi_graphql_next-3.7.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file bareasgi-graphql-next-3.7.0.tar.gz.

File metadata

  • Download URL: bareasgi-graphql-next-3.7.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.2 Linux/4.10.0-33-generic

File hashes

Hashes for bareasgi-graphql-next-3.7.0.tar.gz
Algorithm Hash digest
SHA256 c04691ec1ccb8de4e8e0b588666e86a014640176ea9c8ae827d670911a23d109
MD5 0ba0d96e15da8d4453a2ebbf9ba64f6d
BLAKE2b-256 3cb581a62c2dc4bcf2c6d42108a495b2d7719122db5faffae2bff3e713f8ebed

See more details on using hashes here.

File details

Details for the file bareasgi_graphql_next-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: bareasgi_graphql_next-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.2 Linux/4.10.0-33-generic

File hashes

Hashes for bareasgi_graphql_next-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3324e23e2bcdd6cfd8b0694ff41d841c9b4ddd40a9f0293992b4fb9b710046f
MD5 43d6c3f9e8cbc72dcfc11299a6df493e
BLAKE2b-256 51d9370fbc103611ae2f96222158a71f60b667364e1990123f5f88f42ce7be7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page