Name : python312-drf-aggregates
| |
Version : 0.0.12
| Vendor : obs://build_opensuse_org/home:jayvdb
|
Release : 6.65
| Date : 2020-07-23 18:33:12
|
Group : Development/Languages/Python
| Source RPM : python-drf-aggregates-0.0.12-6.65.src.rpm
|
Size : 0.02 MB
| |
Packager : (none)
| |
Summary : A Python package that exposes the Django model queryset aggregate functions to the DRF API
|
Description :
Exposes aggregation features of the Django model queryset to the DRF API.
This renderer overwrites default behaviour for calls made to api v2 .agg endpoints.
Supports `GET` calls to list endpoints in the format:
endpoint.agg/?aggregate[Count]=(field to count) endpoint.agg/?aggregate[Sum]=(field to sum) endpoint.agg/?aggregate[custom_function]=arguments endpoint.agg/?group_by[field to group by]&aggregate[Count]=id endpoint.agg/?group_by[field to group by]&aggregate[Count]=id&aggregate[Sum]=(field to sum)
Supports date part extraction for aggregation:
endpoint.agg/?group_by[created__year]&aggregate[Count]=id
Supports choices to representation extract:
endpoint.agg/?group_by[choiceField]&aggregate[Count]=id
In order to run tests locally:
1. Install development requirements:
`pip3 install -r requirements-dev.txt`
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/jayvdb:/django/openSUSE_Tumbleweed/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python3.12dist(drf-aggregates)
python312-drf-aggregates
python3dist(drf-aggregates)
Requires :