Skip to main content
Version:
2.14.0
Source:

https://github.com/maykinmedia/commonground-api-common

PythonVersion:

3.12

Build status Code quality checks Coverage status Documentation Status Ruff

python-versions django-versions pypi-version

Commonground-API-common biedt generieke implementaties en tooling voor RESTful APIs in een Common Ground gegevenslandschap.

Dit project is een fork van commonground-api-common.

Zie de uitgebreide documentatie voor de features en het gebruik.

1 Features

  • Centraal beheer van constanten die de verschillende componenten overstijgen

  • GeoJSON OpenAPI definities

  • Support voor Geo CRS negotation

  • Ingebouwde support voor nested viewsets met declaratievere syntax voor registratie

  • Vaak voorkomende validators:
    • RSIN/BSN validator

    • Numerieke waarde validator

    • Niet-negatieve waarde validator

    • Alfanumerieke waarde (zonder diacritics)

    • URL-validator (test dat URL bestaat) met pluggable link-checker

    • UntilNowValidator - valideer datetimes tot en met nu. (Via de TIME_LEEWAY setting kan speling worden toegevoegd)

    • UniekeIdentificatieValidator (in combinatie met organisatie)

    • InformatieObjectUniqueValidator om te valideren dat M2M entries slechts eenmalig voorkomen

    • IsImmutableValidator - valideer dat bepaalde velden niet gewijzigd worden bij een (partial) update, maar wel mogen gezet worden bij een create

    • ResourceValidator - valideer dat een URL een bepaalde resource ontsluit

  • Custom inspectors voor drf-yasg:
    • Support voor rest_framework_gis GeometryField

    • SUpport voor django-extra-fields Base64FieldMixin

    • URL-based related resource filtering (django-filter support)

    • verzameling van mogelijke error-responses per operation

  • Management command generate_swagger overloaded
    • neemt default versie mee en maakt server-informatie domein-agnostisch

    • optie om informatiemodel-resources naar markdown te renderen met backlinks naar gemmaonline.nl

  • Support voor ISO 8601 durations

  • Custom model fields:
    • RSINField

    • BSNField

    • LanguageField

    • VertrouwelijkheidsAanduidingField

    • DaysDurationField

  • Mocks voor de validators die netwerk IO hebben, eenvoudig via @override_settings toe te passen

  • Test utilities

  • Optionele notificaties applicatie:
    • ontvangen van webhook events

    • configureren en registreren van notificatiecomponent/webhooks

Download files

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

Source Distribution

commonground_api_common-2.14.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

commonground_api_common-2.14.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file commonground_api_common-2.14.0.tar.gz.

File metadata

  • Download URL: commonground_api_common-2.14.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for commonground_api_common-2.14.0.tar.gz
Algorithm Hash digest
SHA256 0eb6da1f99a6a98a91ce9cd041d2b2eea56691b47c547a1af27e40456cc2db2f
MD5 54ccfe17af0f6425511cd27e383e3d87
BLAKE2b-256 774def19500c42c0e23c74f6ae3253aa8f162f9e931ca8c7f07c826b8f3b25f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for commonground_api_common-2.14.0.tar.gz:

Publisher: ci.yml on maykinmedia/commonground-api-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file commonground_api_common-2.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for commonground_api_common-2.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fab3dde95caeee009ef1fa13be3932b36914a064031cd1e69e4eabace5e0a22b
MD5 89dfb0fea8866c0beaf7f4642259e4a8
BLAKE2b-256 c39d7a5d3f30ecebaf3b6760f9775430a8672da35f7a94dadf934f5479d76091

See more details on using hashes here.

Provenance

The following attestation bundles were made for commonground_api_common-2.14.0-py3-none-any.whl:

Publisher: ci.yml on maykinmedia/commonground-api-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.14.0 This release

2 files

2.13.0

2 files

2.12.0

2 files

2.11.0

2 files

2.10.7

2 files

2.10.6

2 files

2.10.5

2 files

2.10.4

2 files

2.10.3

2 files

2.10.2

2 files

2.10.1

2 files

2.10.0

2 files

2.9.0

2 files

2.8.0

2 files

2.7.0

2 files

2.6.7

2 files

2.6.6

2 files

2.6.5

2 files

2.6.4

2 files

2.6.3

2 files

2.6.2

2 files

2.6.1

2 files

2.6.0

2 files

2.5.5

2 files

2.5.4

2 files

2.5.3

2 files

2.5.2

2 files

2.5.1

2 files

2.5.0

2 files

2.4.1

2 files

2.4.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.2

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.13.4

2 files

1.13.3

2 files

1.13.2

2 files

1.13.1

2 files

1.13.0

2 files

1.12.2

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.2

2 files

1.10.1

2 files

1.10.0

2 files

1.9.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page