Skip to main content

A high-level framework for communicating with the workflow and decision automation engine Camunda.

Project description

Build Status codecov Documentation Status

PyCamunda

PyCamunda is a Python REST api client for the workflow and decision automation engine Camunda.

PyCamunda takes care of Camunda-specific characteristics and gives you an intuitive Python interface so you can focus on developing your actual business application. So PyCamunda deals with http requests, nested dictionaries, camelCase keys, datetime formatting and more for you.

Simply..

  • .. create an instance of the PyCamunda class corresponding to a Camunda endpoint,
  • .. configure it using keyword arguments and methods,
  • .. send the request and get the response serialized in a Python data class.
import pycamunda.processinst

url = 'http://localhost/engine-rest'

get_instances = pycamunda.processinst.GetList(url, process_definition_key='MyProcess')
instances = get_instances()

for instance in instances:
    print('Process instance id:', instance.id_)

Output:

Process instance id: 174cb832-a8a7-11ea-8129-0242ac110002
Process instance id: 1a70a8e9-a7ed-11ea-8129-0242ac110002
...

Installation

PyCamunda requires Python >= 3.7 and can be installed from the offical Python Package Index.

$ pip install pycamunda

Documentation

The latest documentation can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycamunda, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pycamunda-0.2.0-py3-none-any.whl (62.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pycamunda-0.2.0.tar.gz (43.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page