Skip to main content
Copyright (c) 2017, Energylinx Limited
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Description: # django-debug-toolbar-requests

A Django Debug Toolbar panel for most popular http library [requests](http://docs.python-requests.org/en/master/).

# About

This is a panel for [Django Debug Toolbar](https://django-debug-toolbar.readthedocs.io/en/stable/index.html) that displays [requests](http://docs.python-requests.org/en/master/) http queries, data headers and stack trace.

### Installation

Install django-debug-toolbar-requests

```sh
$ pip install django-debug-toolbar-requests
```

Add library into your django `settings.py`

```python
INSTALLED_APPS = (
...
'requests_toolbar',
...
)
```

Add panel into `DEBUG_TOOLBAR_PANELS`

```python
DEBUG_TOOLBAR_PANELS = (
...
'requests_toolbar.panels.RequestsDebugPanel',
...
)
```


## Example

Now always if you're will use [requests](http://docs.python-requests.org/en/master/) then you will see debug information in your [Django Debug Toolbar](https://django-debug-toolbar.readthedocs.io/en/stable/index.html).


```python
requests.get('https://httpbin.org/get', headers={'X-headers': 'value of x header'})
```

## Screenshot
![Screenshot](https://raw.githubusercontent.com/ENERGYLINX/django-debug-toolbar-requests/master/screenshot.png)

Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: BSD License
Classifier: Environment :: Web Environment

Release files for django-debug-toolbar-requests 1.0.5

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

Source distribution (sdist)

Source distribution for django-debug-toolbar-requests 1.0.5
File Size Uploaded
django-debug-toolbar-requests-1.0.5.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-debug-toolbar-requests 1.0.5
File Interpreter ABI Platform
django_debug_toolbar_requests-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / django-debug-toolbar-requests-1.0.5.tar.gz

Download URL django-debug-toolbar-requests-1.0.5.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2203160f235fdb6562e9188f65cb86902858208a238dc1a06bd9eb991f00fdfb
BLAKE2b-256 checksum
How to use checksums
5fc2a10c12d08d4c1de6caf41d020fbc8cd5c7db6f5822d6bc3286e4e555d356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_debug_toolbar_requests-1.0.5-py3-none-any.whl

Download URL django_debug_toolbar_requests-1.0.5-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff0348ab86e1200c8cb4662e39bbe697f7606e754a7ab2d4bb2780c7ea37f0ef
BLAKE2b-256 checksum
How to use checksums
702c9c6700bbf7eb390db903ea5a5906b560330afefc81e58f2645a4fcb69fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

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