Skip to main content

DRF Toolkit

Project description

PyPI - Downloads

Github CI Maintainability Code Coverage

python python python

Django REST Framework Toolkit

A comprehensive toolkit that extends Django REST Framework with enhanced functionality and common patterns.

📚 Full Documentation

Quick Start

Requirements

  • Python 3.11+
  • Django 4.2+
  • Django REST Framework 3.14+

Installation

pip install drf-toolkit

For detailed usage instructions and examples, please visit our Quick Start Guide.

Features

DRF Toolkit provides a comprehensive set of tools and utilities for Django REST Framework:

  • Models: Enhanced model functionality with diff tracking, soft delete, and more
  • Serializers: Advanced serialization with automatic field handling
  • Views: Extended viewsets with caching, filtering, and nested resources
  • Filters: Powerful filtering capabilities with multiple filter types
  • Pagination: Optimized pagination for better performance
  • Caching: Flexible caching system with custom key generation
  • Signals: Model operation tracking and signal management
  • Testing: Comprehensive testing utilities for API endpoints

Development

Setup

# Install dependencies
make dependencies

# Run tests
make test

# Format code
make style

# Serve documentation locally
make docs-serve

For more development commands, check the Makefile.

Contributing

We welcome contributions! Please check our Contributing Guide for guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf_kit-1.49.0.tar.gz (156.6 kB view details)

Uploaded Source

Built Distribution

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

drf_kit-1.49.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file drf_kit-1.49.0.tar.gz.

File metadata

  • Download URL: drf_kit-1.49.0.tar.gz
  • Upload date:
  • Size: 156.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.10

File hashes

Hashes for drf_kit-1.49.0.tar.gz
Algorithm Hash digest
SHA256 ddc43bcee82880516639bf175313b217aa5923fb323880bd2c08a9e92e4b87c8
MD5 963f4b35a8c7b2c58ebf985c43f0fa7b
BLAKE2b-256 d6a08c11ba07cc8f27c3f23b8cdd167b6060936cd5e46de81edb31ba1fc8de72

See more details on using hashes here.

File details

Details for the file drf_kit-1.49.0-py3-none-any.whl.

File metadata

  • Download URL: drf_kit-1.49.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.10

File hashes

Hashes for drf_kit-1.49.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04bcbc298a508bac1c9b10e7a2061fc6b8d730dcc61b43163a81a288214ca3e3
MD5 4b81fc1c8a2cbd9dd86bba74c9edc332
BLAKE2b-256 e122464533bf78f95f83bd14061c138cad8b7e91f7c0fa58ecbc387f98f49f0d

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