Advanced filtering with GraphQL-like syntax for Django REST Framework
Project description
DRF QueryFlex
Advanced filtering with GraphQL-like syntax for Django REST Framework.
Features
- GraphQL-like filtering syntax - Support for complex queries with multiple operators
- Field selection - Choose exactly which fields to return, including nested relationships
- Query optimization - Automatic
select_related()andprefetch_related()optimization - Multiple syntax formats - JSON, simplified, and traditional DRF-style filtering
- Security focused - Field validation and depth limiting to prevent abuse
- OpenAPI support - Automatic schema generation for Swagger documentation
Installation
pip install drf-queryflex#\x00 \x00q\x00u\x00e\x00r\x00y\x00f\x00l\x00e\x00x\x00
\x00
\x00
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_queryflex-0.1.0.tar.gz
(11.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drf_queryflex-0.1.0.tar.gz.
File metadata
- Download URL: drf_queryflex-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d63232b189d1b50ddddc5a5388a35277019ca45a1879b616ac049ea2170f9c
|
|
| MD5 |
a69c643f760e39c8420a64a2bc1fb61d
|
|
| BLAKE2b-256 |
7b7a7214721df9bd3554ecafec92587a578ed369b23c87efdafbd24169b5d2db
|
File details
Details for the file drf_queryflex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: drf_queryflex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccac276b104d9570590e7d9ec6c2a15500f9262539024c662ca08aa5505cb23f
|
|
| MD5 |
23520038937ca90f71d4f6b9b994dec5
|
|
| BLAKE2b-256 |
a86d1984ce8e7ee81faa235b900b81984e67288aecd280be21d182f0ea8d803f
|