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 usingdrupal/image_field_caption
.
Credits
- Based on JSON API Python client by Tuomas Airaksinen for Qvantel, see JSON API Python client.
Project details
Release history Release notifications | RSS feed
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.4.tar.gz
(19.6 kB
view hashes)
Built Distribution
Close
Hashes for drupaljsonapiclient-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c66276ce369a5bfd6ee41ceaf3d4d55d2ea9d538da0ec9065835ec3bbe3a55e |
|
MD5 | 182545211953832963693b1d04101a4a |
|
BLAKE2b-256 | e5c8ea49cadef2a53a3026365bfeecf1799d695bcc0f63add143d8954ac25404 |
Close
Hashes for drupaljsonapiclient-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61572d9cc87af4532fbed94cbea334558f331803c4cb784a72e6c4760d274b2c |
|
MD5 | 60f624580d45b1e50f2702f553ae47d9 |
|
BLAKE2b-256 | bcf1aa3dad03fb507cc24b7a05debba7c20c79e3a29bd4bc8e93a3b49200e90e |