Interact with Camunda from Django
Project description
1 Camunda client for Django
- Version:
0.15.0
- Source:
- Keywords:
camunda, process engine, bpmn
Interact with Camunda BPMN processes from Django projects.
Tested against Camunda 7.16
2 Features
Configure Camunda connection parameters from the admin
Shared Celery tasks
Domain models as Python objects
Complex/custom process variable support
DMN evaluation and introspection
3 Installation
3.1 Requirements
Python 3.10+
Django 4.2+
Celery [optional]
3.2 Install
pip install django-camunda
or with Celery support:
pip install django-camunda[celery]
Next, ensure the following apps are installed:
INSTALLED_APPS = [
...,
"solo",
"django_camunda",
...
]
and run migrations:
python manage.py migrate
4 Usage
4.1 Configuration
In the admin, navigate to django-camunda > Camunda configuration
Fill out the API connection parameters for your Camunda instance
4.2 Using the API client
Built-in API functions
The module django_camunda.api contains a number of pre-defined API endpoint bindings. If what you’re looking for does not exist (yet), you can use the low-level API client (see below).
Core usage
The Camunda client class is a wrapper around the requests library and as such aims to provide the same Python interface.
from django_camunda.client import get_client
with get_client() as client:
task = client.get("task/5c793356-24f5-4f82-a5ce-a3cce43b762b")
... # do something with the task details
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
Built Distribution
File details
Details for the file django_camunda-0.15.0.tar.gz
.
File metadata
- Download URL: django_camunda-0.15.0.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220282e92a05eb4458ce422dd914e0f2adb56ffebb352688667f88b403fdbf92 |
|
MD5 | 5bf9181c3647c15792226c6b01c3b36f |
|
BLAKE2b-256 | c44c1a30c2384ed29c34bcc26cd44b0fa29413d523030646e107441110ff44c2 |
File details
Details for the file django_camunda-0.15.0-py3-none-any.whl
.
File metadata
- Download URL: django_camunda-0.15.0-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf68cdbd97150359bbbf7c29f6acda5b67cfcecfdcbb3c6f81b08f12305ffed |
|
MD5 | c7d30251210098274e10ec2fbf4fad58 |
|
BLAKE2b-256 | 5ac9a6927017115378528e0643f336eeaf5e271a52efae68835248b0787e1596 |