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-2.0.0.tar.gz (8.7 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-2.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file bareasgi_graphql_next-2.0.0.tar.gz.

File metadata

  • Download URL: bareasgi_graphql_next-2.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for bareasgi_graphql_next-2.0.0.tar.gz
Algorithm Hash digest
SHA256 049bc5620f69f50034a6d0fd5d80564603781cd4e68e39d059c28915d1c4e436
MD5 06d5da31774d6cc2739641687d50f2aa
BLAKE2b-256 7adfdd6c911511275f355f6195171fab68b6e2ba048de06ccbc171ad4817cec9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bareasgi_graphql_next-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for bareasgi_graphql_next-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e98dac454c9bb5f7fb62bd6086bcd80acca0a1ff1480a1dcd20f161e56f5ffa
MD5 03b172f9fc04a6e6f53f89653cc622c6
BLAKE2b-256 beb1563744acddbcd2eca1a49840bdecc71e55181d107b2fe2c315d29f927070

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