🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

graphene-graphiql-explorer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphene-graphiql-explorer

A Django app that adds graphiql explorer to the graphiql view

pipPyPI
Version
0.1.1
Maintainers
1

graphene graphiql explorer

PyPI

😎 This django app adds the graphiql explorer to graphene's graphiql view.

The graphiql version used is 1.9.10.

Installation

pip install graphene_graphiql_explorer

Setup

Add graphene_graphiql_explorer to your INSTALLED_APPS.

Override the default graphene graphiql template in your urls.py:

from graphene_django.views import GraphQLView

GraphQLView.graphiql_template = "graphene_graphiql_explorer/graphiql.html"

urlpatterns = [
    # ...
    url(
        r"^graphql/$",
        GraphQLView.as_view(graphiql=True),
        name="graphql",
    ),
    # ...
]

Don't forget to collect those static files.

Brought to you by superservice international.

Development

Release

python -m build

python -m twine upload -r testpypi dist/*

python -m twine check dist/*

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts