django-graphiql-debug-toolbar


Namedjango-graphiql-debug-toolbar JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/flavors/django-graphiql-debug-toolbar
SummaryDjango Debug Toolbar for GraphiQL IDE.
upload_time2021-08-28 21:44:16
maintainer
docs_urlNone
authormongkok
requires_python>=3.6,<4.0
licenseMIT
keywords django graphql graphiql debug
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django GraphiQL Debug Toolbar

[![Tests](https://github.com/flavors/django-graphiql-debug-toolbar/actions/workflows/test-suite.yml/badge.svg)](https://github.com/flavors/django-graphiql-debug-toolbar/actions)
[![Coverage](https://img.shields.io/codecov/c/github/flavors/django-graphiql-debug-toolbar?color=%2334D058)](https://codecov.io/gh/flavors/django-graphiql-debug-toolbar)
[![Codacy](https://app.codacy.com/project/badge/Grade/354f70cdefda40938c397d8651a2a06c)](https://www.codacy.com/gh/flavors/django-graphiql-debug-toolbar/dashboard)
[![Package version](https://img.shields.io/pypi/v/django-graphiql-debug-toolbar.svg)](https://pypi.python.org/pypi/django-graphiql-debug-toolbar)

[Django Debug Toolbar](https://github.com/jazzband/django-debug-toolbar) for [GraphiQL](https://github.com/graphql/graphiql) IDE.

![Graphiql Debug Toolbar](https://user-images.githubusercontent.com/5514990/36340937-1937ee68-1419-11e8-8477-40622e98c312.gif)

## Dependencies

*   Python ≥ 3.6
*   Django ≥ 2.2

## Installation

Install last stable version from Pypi.

```sh
pip install django-graphiql-debug-toolbar
````

See the [documentation](https://django-debug-toolbar.readthedocs.io/en/stable/installation.html) for further guidance on setting *Django Debug Toolbar*.

Add `graphiql_debug_toolbar` to your *INSTALLED_APPS* settings:

```py
INSTALLED_APPS = [
    'debug_toolbar',
    'graphiql_debug_toolbar',
]
```

**Replace** the Django Debug Toolbar **middleware** with the GraphiQL Debug Toolbar one. 

```py
MIDDLEWARE = [
    # 'debug_toolbar.middleware.DebugToolbarMiddleware',
    'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
]
```

Credits to [@jazzband](https://jazzband.co) / [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/flavors/django-graphiql-debug-toolbar",
    "name": "django-graphiql-debug-toolbar",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6,<4.0",
    "maintainer_email": "",
    "keywords": "django,graphql,graphiql,debug",
    "author": "mongkok",
    "author_email": "dani@domake.io",
    "download_url": "https://files.pythonhosted.org/packages/c1/89/5f162ce1fbb3f7824b88906d78ce0af7c0fb4791e95ec9f1bf7dda958a5f/django-graphiql-debug-toolbar-0.2.0.tar.gz",
    "platform": "",
    "description": "# Django GraphiQL Debug Toolbar\n\n[![Tests](https://github.com/flavors/django-graphiql-debug-toolbar/actions/workflows/test-suite.yml/badge.svg)](https://github.com/flavors/django-graphiql-debug-toolbar/actions)\n[![Coverage](https://img.shields.io/codecov/c/github/flavors/django-graphiql-debug-toolbar?color=%2334D058)](https://codecov.io/gh/flavors/django-graphiql-debug-toolbar)\n[![Codacy](https://app.codacy.com/project/badge/Grade/354f70cdefda40938c397d8651a2a06c)](https://www.codacy.com/gh/flavors/django-graphiql-debug-toolbar/dashboard)\n[![Package version](https://img.shields.io/pypi/v/django-graphiql-debug-toolbar.svg)](https://pypi.python.org/pypi/django-graphiql-debug-toolbar)\n\n[Django Debug Toolbar](https://github.com/jazzband/django-debug-toolbar) for [GraphiQL](https://github.com/graphql/graphiql) IDE.\n\n![Graphiql Debug Toolbar](https://user-images.githubusercontent.com/5514990/36340937-1937ee68-1419-11e8-8477-40622e98c312.gif)\n\n## Dependencies\n\n*   Python \u2265 3.6\n*   Django \u2265 2.2\n\n## Installation\n\nInstall last stable version from Pypi.\n\n```sh\npip install django-graphiql-debug-toolbar\n````\n\nSee the [documentation](https://django-debug-toolbar.readthedocs.io/en/stable/installation.html) for further guidance on setting *Django Debug Toolbar*.\n\nAdd `graphiql_debug_toolbar` to your *INSTALLED_APPS* settings:\n\n```py\nINSTALLED_APPS = [\n    'debug_toolbar',\n    'graphiql_debug_toolbar',\n]\n```\n\n**Replace** the Django Debug Toolbar **middleware** with the GraphiQL Debug Toolbar one. \n\n```py\nMIDDLEWARE = [\n    # 'debug_toolbar.middleware.DebugToolbarMiddleware',\n    'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',\n]\n```\n\nCredits to [@jazzband](https://jazzband.co) / [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Django Debug Toolbar for GraphiQL IDE.",
    "version": "0.2.0",
    "split_keywords": [
        "django",
        "graphql",
        "graphiql",
        "debug"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "29d6af9b068d0bea1ffcd67f5cbd66a3",
                "sha256": "85bf4e4bdf6b699aa07567bcd28f16454742bf24b3c3334c502bc0be40777777"
            },
            "downloads": -1,
            "filename": "django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "29d6af9b068d0bea1ffcd67f5cbd66a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6,<4.0",
            "size": 7319,
            "upload_time": "2021-08-28T21:44:17",
            "upload_time_iso_8601": "2021-08-28T21:44:17.442743Z",
            "url": "https://files.pythonhosted.org/packages/89/20/01a382fcddafea07065486cbc2d21b83eaa1c57e3a0baa0ab6cb103c12fb/django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "6f559229718b700f1007231bd90b226a",
                "sha256": "aec7a9e096594123d9fc359a583da794a0020b5391d941dda584ce1e667e0afd"
            },
            "downloads": -1,
            "filename": "django-graphiql-debug-toolbar-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6f559229718b700f1007231bd90b226a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6,<4.0",
            "size": 5000,
            "upload_time": "2021-08-28T21:44:16",
            "upload_time_iso_8601": "2021-08-28T21:44:16.455852Z",
            "url": "https://files.pythonhosted.org/packages/c1/89/5f162ce1fbb3f7824b88906d78ce0af7c0fb4791e95ec9f1bf7dda958a5f/django-graphiql-debug-toolbar-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-08-28 21:44:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "flavors",
    "github_project": "django-graphiql-debug-toolbar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "django-graphiql-debug-toolbar"
}
        
Elapsed time: 0.01745s