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.
Release files for pycamunda 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycamunda-0.6.1.tar.gz | 48.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycamunda-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.8 kB
Release files / pycamunda-0.6.1.tar.gz
| Download URL | pycamunda-0.6.1.tar.gz |
|---|---|
| Size | 48.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b30c371dc344b081dd8d25470d10eebb53751c43da9772c870c8f77a5f117f
|
|
BLAKE2b-256 checksum How to use checksums |
f576fb22c47bb378ce383ed39e9e1379067830d0759a3412e6130e4ce497b24a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.7.0
|
Release files / pycamunda-0.6.1-py3-none-any.whl
| Download URL | pycamunda-0.6.1-py3-none-any.whl |
|---|---|
| Size | 71.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20d215f16f48a3a13f193dd61260e57acc5e1c57a8e365b553fa9c79e40a415d
|
|
BLAKE2b-256 checksum How to use checksums |
08063c75b58975d1cfa2bcdcdef1eef84818af355ca64e2fdc0d65caf2c802eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.7.0
|