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.1.1.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drupaljsonapiclient-1.1.1.tar.gz.
File metadata
- Download URL: drupaljsonapiclient-1.1.1.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c402da694bc6c068ef4a6dd32aafec07ff1035c09514f66033bfa81b30385697
|
|
| MD5 |
08446b4a5b8a1ca52b6bc8ab79a44ee0
|
|
| BLAKE2b-256 |
e808135720b28640ce70e5896ddabf46b98286ed43a5dec36842b7c38daaed4f
|
File details
Details for the file drupaljsonapiclient-1.1.1-py3-none-any.whl.
File metadata
- Download URL: drupaljsonapiclient-1.1.1-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caca9f2379de60dad36f085a2b12ad67299734bc0f6234d29ad1ca85cefe81f4
|
|
| MD5 |
d5a500271dccfeaab284e4113f1dcf28
|
|
| BLAKE2b-256 |
9573a56178b512900323411ca92027536c659dbc98362a116924dc35235c1979
|