Skip to main content

Drupal CMS JSON:API client for Python.

Project description

drupaljsonapiclient: Drupal CMS JSON:API client for Python

What is it?

drupaljsonapiclient is a powerful JSON:API client that helps to create and fect Drupal entities and resources via easy-to-use, pythonic, ORM-like abstraction layer.

Features

  • JSON:API write operations (POST, PATCH, and DELETE), including Drupal CMS specific implementation of uploading files.
  • Optional asyncio implementation.
  • Model schema definition and validation (required for creating/posting resources, optional for reading/fetching resources).
  • Resource caching within session.

Know Limitations

  • Parsing meta data for entity reference fields is not supported. Meaning, it is not possible to retrive or post meta data added to entity reference fields used by such as modules as drupal/image_field_caption. It is recommended to store the required meta data directly as attributes of the referenced entity. For examply, by adding "Figure Caption" text field to Media entities as an alternative to using drupal/image_field_caption.

Credits

Project details


Download files

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

Source Distribution

drupaljsonapiclient-1.0.0.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

drupaljsonapiclient-1.0.0-py3-none-any.whl (24.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page