SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python312-drf-aggregates rpm build for : openSUSE Tumbleweed. For other distributions click python312-drf-aggregates.

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

Content of RPM  Changelog  Provides Requires

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 :
python(abi) = 3.12
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/python3.12/site-packages/drf_aggregates
/usr/lib/python3.12/site-packages/drf_aggregates-0.0.12-py3.12.egg-info
/usr/lib/python3.12/site-packages/drf_aggregates-0.0.12-py3.12.egg-info/PKG-INFO
/usr/lib/python3.12/site-packages/drf_aggregates-0.0.12-py3.12.egg-info/SOURCES.txt
/usr/lib/python3.12/site-packages/drf_aggregates-0.0.12-py3.12.egg-info/dependency_links.txt
/usr/lib/python3.12/site-packages/drf_aggregates-0.0.12-py3.12.egg-info/top_level.txt
/usr/lib/python3.12/site-packages/drf_aggregates/__init__.py
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/aggregates.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/aggregates.cpython-312.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/exceptions.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/exceptions.cpython-312.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/renderers.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/__pycache__/renderers.cpython-312.pyc
/usr/lib/python3.12/site-packages/drf_aggregates/aggregates.py
/usr/lib/python3.12/site-packages/drf_aggregates/exceptions.py
/usr/lib/python3.12/site-packages/drf_aggregates/renderers.py

 
ICM