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.0

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.0 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.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

ddt_api_calls-0.3.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file ddt-api-calls-0.3.0.tar.gz.

File metadata

  • Download URL: ddt-api-calls-0.3.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ddt-api-calls-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0685cdccead016fcf5e8ea5f5d613391fced487db26699d1b485b7b9c224e7c0
MD5 88984b479689f089ad16dc62e8a13719
BLAKE2b-256 850dd95b3ee7dc7b2312067a8bfa580c194511d0f297635de5f4a1e5efcfb253

See more details on using hashes here.

File details

Details for the file ddt_api_calls-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ddt_api_calls-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ddt_api_calls-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2352b6e8ce269c83d008b6e965518616721b7f296905717d646f1d2f7926fcb1
MD5 adffb2c6a1488a202b61300231e3d20a
BLAKE2b-256 2e0f60ab6bba2bc13b1a224624061e02f0d2e56fa31d163da1a0da701715ad6e

See more details on using hashes here.

Supported by

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