Skip to main content

DRF middleware to wrap all API responses and handle exceptions

Project description

DRF Response Wrapper

A Django REST Framework middleware that wraps all API responses into a consistent format,
without modifying your views.


🚀 Features

  • Auto-wrap success & error responses
  • Standardized response structure
  • Easy integration with Django & DRF

📦 Installation

pip install drf-response-wrapper

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

drf_response_wrapper-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_response_wrapper-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file drf_response_wrapper-0.1.0.tar.gz.

File metadata

  • Download URL: drf_response_wrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for drf_response_wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4dd00e77f398e4420bd4702319e327667e8a13d3022ce2cccf682bee209526cf
MD5 e3f278ce12e3e1f8390eb14dc1e92fc0
BLAKE2b-256 6ba13ab603e82f6cd6a3e6599e1ed8ded6bd6cc6b40d42801ddf8411ec190125

See more details on using hashes here.

File details

Details for the file drf_response_wrapper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_response_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d205e82882b86fb5f3538b680fd795428c71e5afa34547b641023629c23ebfc
MD5 d9bff1f5be0e45bed00e990c020afe09
BLAKE2b-256 49bbe27d76dd2fa82e2a86ff562057be6020e31d2764c0aa9d0abeb54e4363da

See more details on using hashes here.

Supported by

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