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.1.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

drupaljsonapiclient-1.1.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

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

Hashes for drupaljsonapiclient-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c402da694bc6c068ef4a6dd32aafec07ff1035c09514f66033bfa81b30385697
MD5 08446b4a5b8a1ca52b6bc8ab79a44ee0
BLAKE2b-256 e808135720b28640ce70e5896ddabf46b98286ed43a5dec36842b7c38daaed4f

See more details on using hashes here.

File details

Details for the file drupaljsonapiclient-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for drupaljsonapiclient-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caca9f2379de60dad36f085a2b12ad67299734bc0f6234d29ad1ca85cefe81f4
MD5 d5a500271dccfeaab284e4113f1dcf28
BLAKE2b-256 9573a56178b512900323411ca92027536c659dbc98362a116924dc35235c1979

See more details on using hashes here.

Supported by

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