commonground-api-common 1.13.2__py3-none-any.whl → 1.13.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: commonground-api-common
3
- Version: 1.13.2
3
+ Version: 1.13.3
4
4
  Summary: Commonground API tooling
5
5
  Home-page: https://github.com/maykinmedia/commonground-api-common
6
6
  Author: Maykin Media, VNG-Realisatie
@@ -17,50 +17,48 @@ Classifier: Operating System :: MacOS
17
17
  Classifier: Operating System :: Microsoft :: Windows
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.8
21
- Classifier: Programming Language :: Python :: 3.9
22
20
  Classifier: Programming Language :: Python :: 3.10
23
21
  Classifier: Programming Language :: Python :: 3.11
24
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Requires-Dist: django >=3.2.0
26
- Requires-Dist: django-filter >=2.0
23
+ Requires-Dist: django>=3.2.0
24
+ Requires-Dist: django-filter>=2.0
27
25
  Requires-Dist: django-solo
28
- Requires-Dist: djangorestframework >=3.11.0
29
- Requires-Dist: djangorestframework-camel-case >=1.2.0
26
+ Requires-Dist: djangorestframework>=3.11.0
27
+ Requires-Dist: djangorestframework-camel-case>=1.2.0
30
28
  Requires-Dist: django-rest-framework-condition
31
- Requires-Dist: drf-yasg >=1.20.0
32
- Requires-Dist: drf-nested-routers >=0.93.3
33
- Requires-Dist: gemma-zds-client >=0.14.0
29
+ Requires-Dist: drf-yasg>=1.20.0
30
+ Requires-Dist: drf-nested-routers>=0.93.3
31
+ Requires-Dist: gemma-zds-client>=0.14.0
34
32
  Requires-Dist: iso-639
35
33
  Requires-Dist: isodate
36
- Requires-Dist: notifications-api-common >=0.2.2
34
+ Requires-Dist: notifications-api-common>=0.2.2
37
35
  Requires-Dist: oyaml
38
- Requires-Dist: PyJWT >=2.0.0
36
+ Requires-Dist: PyJWT>=2.0.0
39
37
  Requires-Dist: requests
40
38
  Requires-Dist: coreapi
41
39
  Provides-Extra: coverage
42
- Requires-Dist: pytest-cov ; extra == 'coverage'
40
+ Requires-Dist: pytest-cov; extra == "coverage"
43
41
  Provides-Extra: docs
44
- Requires-Dist: psycopg2 ; extra == 'docs'
45
- Requires-Dist: sphinx ; extra == 'docs'
46
- Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
42
+ Requires-Dist: psycopg2; extra == "docs"
43
+ Requires-Dist: sphinx; extra == "docs"
44
+ Requires-Dist: sphinx-rtd-theme; extra == "docs"
47
45
  Provides-Extra: markdown_docs
48
- Requires-Dist: django-markup <=1.3 ; extra == 'markdown_docs'
49
- Requires-Dist: markdown ; extra == 'markdown_docs'
46
+ Requires-Dist: django-markup<=1.3; extra == "markdown-docs"
47
+ Requires-Dist: markdown; extra == "markdown-docs"
50
48
  Provides-Extra: pep8
51
- Requires-Dist: flake8 ; extra == 'pep8'
49
+ Requires-Dist: flake8; extra == "pep8"
52
50
  Provides-Extra: release
53
- Requires-Dist: bump2version ; extra == 'release'
51
+ Requires-Dist: bump2version; extra == "release"
54
52
  Provides-Extra: tests
55
- Requires-Dist: psycopg2 ; extra == 'tests'
56
- Requires-Dist: pytest ; extra == 'tests'
57
- Requires-Dist: pytest-django ; extra == 'tests'
58
- Requires-Dist: pytest-factoryboy ; extra == 'tests'
59
- Requires-Dist: tox ; extra == 'tests'
60
- Requires-Dist: isort ; extra == 'tests'
61
- Requires-Dist: black ; extra == 'tests'
62
- Requires-Dist: requests-mock ; extra == 'tests'
63
- Requires-Dist: freezegun ; extra == 'tests'
53
+ Requires-Dist: psycopg2; extra == "tests"
54
+ Requires-Dist: pytest; extra == "tests"
55
+ Requires-Dist: pytest-django; extra == "tests"
56
+ Requires-Dist: pytest-factoryboy; extra == "tests"
57
+ Requires-Dist: tox; extra == "tests"
58
+ Requires-Dist: isort; extra == "tests"
59
+ Requires-Dist: black; extra == "tests"
60
+ Requires-Dist: requests-mock; extra == "tests"
61
+ Requires-Dist: freezegun; extra == "tests"
64
62
 
65
63
  ===================================================
66
64
  Commonground-API-common - Tooling voor RESTful APIs
@@ -1,7 +1,7 @@
1
- commonground_api_common-1.13.2.data/scripts/generate_schema,sha256=UKhznmbHX1zUjPx8G3XtxUPQiqnyd3TOIXs27Tnjl7U,952
2
- commonground_api_common-1.13.2.data/scripts/patch_content_types,sha256=dpGpYrZOZe8O5CHWd0F0QnP6Wk_7lK6DyuVZpBPr4mY,319
3
- commonground_api_common-1.13.2.data/scripts/use_external_components,sha256=xvvbngO2aDUagVXv4xRUqPaVtH_eOaVMWLQ8lyAPhEA,369
4
- vng_api_common/__init__.py,sha256=e1i4EXbzZ1xnh8stGo52300k0WTGVZuco7l8x2OgNso,23
1
+ commonground_api_common-1.13.3.data/scripts/generate_schema,sha256=UKhznmbHX1zUjPx8G3XtxUPQiqnyd3TOIXs27Tnjl7U,952
2
+ commonground_api_common-1.13.3.data/scripts/patch_content_types,sha256=dpGpYrZOZe8O5CHWd0F0QnP6Wk_7lK6DyuVZpBPr4mY,319
3
+ commonground_api_common-1.13.3.data/scripts/use_external_components,sha256=xvvbngO2aDUagVXv4xRUqPaVtH_eOaVMWLQ8lyAPhEA,369
4
+ vng_api_common/__init__.py,sha256=KEnQD-7zBoKmB5YS3RYdSTAm0jGS_-WENjL881LrJOY,23
5
5
  vng_api_common/admin.py,sha256=oWKpUl5yjeYOIsh60ruCmBDyPURGq4ALle4zGhlUQsE,902
6
6
  vng_api_common/apps.py,sha256=wOQuxUImMpH39R0JrDdCZp5ADaUM8jU8vFPFW9froSs,3458
7
7
  vng_api_common/checks.py,sha256=tOyfV7MMLGh4anrd_W30LvJCxiyQ4sFs1mGd9mtrEc0,1175
@@ -23,6 +23,7 @@ vng_api_common/middleware.py,sha256=DhdGA_9_bk7bYr-keHEt4F_VS6IkYJmzzAhkjqnzeYw,
23
23
  vng_api_common/mocks.py,sha256=JjpJyVmHReRUXbwDi2cnmuq4NYI1hLRr_W962TIhN6Y,6118
24
24
  vng_api_common/models.py,sha256=JmUfkM1PuiqW3wuTA-chMtcDGvohy4j0JsB95s7VK4Q,5041
25
25
  vng_api_common/oas.py,sha256=FiqBZ3n36q-fPRZEgpmLDxjnqmoAKmaTKZ-FlFcuRp0,2712
26
+ vng_api_common/pagination.py,sha256=sI6VJ5AHDBhtNRQ8OFrD2heQK-NxaL_6n73ijiqWDLc,255
26
27
  vng_api_common/permissions.py,sha256=ayDxk9Wt8j0yO57FhZ8XaRkPET4lAqd8SSw3m4o3EGs,7562
27
28
  vng_api_common/polymorphism.py,sha256=N-x39pG2unD4N0ZbxFvuhE8ibPaJ0eKeqfvAJW3NnEU,6623
28
29
  vng_api_common/routers.py,sha256=Tq_V-ewibFfcMl-0TS91_jvel6SxQGF-649GSKqlexE,1906
@@ -187,7 +188,7 @@ vng_api_common/tests/auth.py,sha256=IKDWTEFv4Bign4F70-ibsFcnJqRxEJaXvqaPQJWa1xY,
187
188
  vng_api_common/tests/caching.py,sha256=zfIw5cRRvO9cekHZZKfRqZc8cx5IfJUYNmcH6cuIMg4,624
188
189
  vng_api_common/tests/schema.py,sha256=9LFgEXzcYGkHZtlpCiHNCWywR5lF7Pl0S43cwlwKDgQ,1954
189
190
  vng_api_common/tests/urls.py,sha256=PFrYzQbBC0TFPMEn3uPhcBG0IQs9JsEPqckicJT1UA4,2159
190
- commonground_api_common-1.13.2.dist-info/METADATA,sha256=suvblBi_2_joSevlo67TVW8tzQIEfvkiaPl2qC0Q1gM,6656
191
- commonground_api_common-1.13.2.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
192
- commonground_api_common-1.13.2.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
193
- commonground_api_common-1.13.2.dist-info/RECORD,,
191
+ commonground_api_common-1.13.3.dist-info/METADATA,sha256=fTK_yDoGxHnrz53LNSXzEKHACw0VXJdfeoyaeRjjiFM,6529
192
+ commonground_api_common-1.13.3.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
193
+ commonground_api_common-1.13.3.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
194
+ commonground_api_common-1.13.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1 +1 @@
1
- __version__ = "1.13.2"
1
+ __version__ = "1.13.3"
@@ -0,0 +1,10 @@
1
+ from rest_framework.pagination import PageNumberPagination
2
+
3
+
4
+ class DynamicPageSizeMixin:
5
+ page_size = 100
6
+ page_size_query_param = "pageSize"
7
+ max_page_size = 500
8
+
9
+
10
+ class DynamicPageSizePagination(DynamicPageSizeMixin, PageNumberPagination): ...