Skip to main content

WebPy-GraphQL

https://travis-ci.org/Igor-britecore/webpy-graphql.svg?branch=master:target:https://travis-ci.org/Igor-britecore/webpy-graphql..image::https://coveralls.io/repos/github/Igor-britecore/webpy-graphql/badge.svg?branch=master:target:https://coveralls.io/github/Igor-britecore/webpy-graphql?branch=master..image::https://badge.fury.io/py/WebPy-GraphQL.svg:target:https://badge.fury.io/py/WebPy-GraphQL

Adds GraphQL support to your WebPy application.

Usage

Just use the GraphQLView view from webpy_graphql

from webpy_graphql import GraphQLView

urls = ("/graphql", "GQLGateway")

app = web.application(urls, globals())

class GQLGateway(GraphQLView):
    class GraphQLMeta:
        schema=Schema

This will add /graphql endpoints to your app (GET and POST methods implemented in the class GraphQLView).

Supported options

  • schema: The GraphQLSchema object that you want the view to execute when it gets a valid request.

  • context: A value to pass as the context to the graphql() function.

  • root_value: The root_value you want to provide to executor.execute.

  • pretty: Whether or not you want the response to be pretty printed JSON.

  • executor: The Executor that you want to use to execute queries.

  • graphiql: If True, may present GraphiQL when loaded directly from a browser (a useful tool for debugging and exploration).

  • batch: Set the GraphQL view as batch (for using in Apollo-Client or ReactRelayNetworkLayer)

  • graphiql_temp_title: Set template title for GraphiQL

Metadata

Release files for WebPy-GraphQL 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for WebPy-GraphQL 3.0.1
File Interpreter ABI Platform Actions
WebPy_GraphQL-3.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for WebPy_GraphQL-3.0.1-py2.py3-none-any.whl

Release files / WebPy_GraphQL-3.0.1-py2.py3-none-any.whl

Download URL WebPy_GraphQL-3.0.1-py2.py3-none-any.whl
Size 9.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
effe8b9198a360c14f9120ccf15ed5b1d83486a21237671333ab3a8890dc9f59
BLAKE2b-256 checksum
How to use checksums
e039657bdea76df5cb23bc04b87273dd0b37149ad5252c2671ae36781439a137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for WebPy-GraphQL 3.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page