Skip to main content

A Django Debug Toolbar pannel to track calls made with requests library.

Project description

1 Welcome to ddt-api-calls’s documentation!

Version:

0.3.2

Source:

https://github.com/maykinmedia/ddt-api-calls

Keywords:

django, debug, debug_toolbar, requests, api

PythonVersion:

3.8

build-status Coverage status black

python-versions django-versions pypi-version

A Django Debug Toolbar pannel to track calls made with requests library

2 Features

  • Track (API) calls made with the requests library

  • Display individual request method, path and duration

  • Display total number of calls and total duration start-end

3 Installation

3.1 Requirements

  • Python 3.6 or above

  • setuptools 30.3.2 or above

  • Django 2.2 or newer

3.2 Install

pip install ddt-api-calls
  1. Add ddt_api_calls to INSTALLED_APPS.

  2. Add ddt_api_calls.panels.APICallsPanel to the DEBUG_TOOLBAR_PANELS setting.

4 Usage

Make your usual requests and see the data in the panels :-)

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

ddt-api-calls-0.3.2.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

ddt_api_calls-0.3.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page