Skip to main content

BPMN Parser, read .bpmn files as Python.

Test Tests Coverage Package version Python Versions


Documentation: https://danbailo.github.io/bpmn-parser/

Source Code: https://github.com/danbailo/bpmn-parser


BPMN Parser is a library to read and parse .bpmn files with Python. With this, you can create another things related with BPMN, such as linters, tests, validate BPMN flows, etc.

The key features are:

  • Easy to use: It's easy to use for the final users.
  • Start simple: Just import and use!
  • Support to build other applications: This library allow and helps to build another applications, such linters, tests, validators, etc.

Installation

Create and activate a virtual environment and then install BPMN Parser:

$ pip install bpmn-parser
---> 100%
Successfully installed bpmn-parser

Example

  • Create a file main.py with:
# Import BPMN Parser
from bpmn_parser import BPMNParser

# Instance it
bpmn_parser = BPMNParser('/path/to/bpmn/flow.bpmn')

# Listing service tasks
for service_task in bpmn_parser.service_task.list:
    print(service_task)

# Getting service task
print(bpmn_parser.service_task.get('Activity_139q5mt'))

Development

Using pyenv

Install the prerequisites and then install pyenv. After install and configure pyenv, just install the project using Make.

make prepare_env_pyenv

Using poetry

pip install poetry

Then, just install the project

make install

Project commands

Command Description
make install Install project as dev
make check_format Check code format
make format Format the code
make check_lint Check code lint
make lint Lint the code
make check_types Check code types
make tests Run tests
make check_all Run all checkers of project
make prepare_env_pyenv Prepare an enviroment with pyenv

Release files for bpmn-parser 1.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bpmn-parser 1.0.16
File Size Uploaded
bpmn_parser-1.0.16.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bpmn-parser 1.0.16
File Interpreter ABI Platform
bpmn_parser-1.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / bpmn_parser-1.0.16.tar.gz

Download URL bpmn_parser-1.0.16.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0881bfa76ed38fd00344411270b4244493f0735500cad9699c035b41ca517007
BLAKE2b-256 checksum
How to use checksums
6e516643ab27213653ffb79eac30c2c3b775a50f3c5b0b975195d219348b7968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / bpmn_parser-1.0.16-py3-none-any.whl

Download URL bpmn_parser-1.0.16-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01978d8746d1cb4e1c81406fe5726e9ff14007f14d3e28710dd025abebbf5f00
BLAKE2b-256 checksum
How to use checksums
bc733b03a4443a3dd44c7151a06d4513afcf27044f12944ade512cc4116df121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

1.0.16 This release

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page