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.2.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.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

ddt_api_calls-0.2.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddt-api-calls-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for ddt-api-calls-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57a93407480a3833ede515984ed5cb2e10221a3d1c10bcd2c14a1145dceb8aa6
MD5 7b050a48c77ccfdcd39c4eba8e846c7c
BLAKE2b-256 1315d185cd23ca557a304153b50e5960f2b52b3b96ddb8806164b871cd2afca1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddt_api_calls-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for ddt_api_calls-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3e1c6ac7c720d01609542586074fa036b592884fdda2a4c72714767b782f9e0
MD5 b7191627f571b593567fb2cf6c4c1de2
BLAKE2b-256 c7715230937b22782784def94c73554e7154851894b5cbecae3b6cc57a0b3d81

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