Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-django-rest-hooks
nabia  ] [  aramo  ]
[ 原始碼: python-django-rest-hooks  ]

套件: python3-django-rest-hooks (1.6.0-2)

Add webhook subscriptions to Django apps (Python3 version)

REST Hooks are advanced versions of webhooks. Traditional webhooks are usually managed manually by the user, but REST Hooks are not. They encourage RESTful access to the hooks (or subscriptions) themselves. Add several hooks for any combination of event and URLs, then get notificatied in real-time by a bundled threaded callback mechanism.

By reusing Django's signals framework, this library can be integrated into any existing Django app.

Using built-in actions, no work is required to support any basic created, updated, and deleted actions across any Django model. It also allows for custom actions (IE: beyond CRUD) to be simply defined and triggered for any model, as well as truly custom events that let an application send arbitrary payloads.

By default, this library will just POST Django's JSON serialization of a model, but it provides a serialize_hook method to customize payloads.

This package contains the Python 3 version of the library.

其他與 python3-django-rest-hooks 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-django
    High-level Python web development framework
  • dep: python3-requests
    elegant and simple HTTP library for Python3, built for human beings

下載 python3-django-rest-hooks

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 18.7 kB68 kB [文件列表]