{"repo":"open-workflow-specification/sdk-python","free":true,"listed":false,"github":"https://github.com/open-workflow-specification/sdk-python","clone":"git clone https://github.com/open-workflow-specification/sdk-python.git","description":"Python SDK for Serverless Workflow","language":"Python","stars":30,"topics":["cncf","python","sdk","serverless","serverless-workflow","workflow"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Serverless Workflow Specification - Python SDK Provides the Python API/SPI for the Serverless Workflow Specification With the SDK you can: Programmatically build workflow definitions Parse workflow JSON and YAML definitions Validate workflow definitions Status Current sdk version conforms to the Serverless Workflow specification v0.8. Install dependencies and run test - Python 3 required - pipenv required pip install pipenv Programmatically build workflow definitions You can see a full example in the test workflow.py file Parse workflow JSON and YAML definitions Convert from JSON or YAML source You can see a full example in the test workflow.py file Parse workflow to JSON / YAML You can see a full example in the test workflow.py file Validate workflow definitions The validate method will raise an exception if the provided workflow does not complaint specification. You can see a full example in the test workflow validator file Generate workflow state machine and graph To generate the workflow graph diagram: The StateMachineHelper can be set with get actions as False and the produced diagram will not represent the actions inside each state (it will only create a diagram with the states and their transitions). Moreover, the developer may not give any subflows , and they simply will not be generated. As for the draw method, the developer can also specify graph engine='mermaid' . In that case, the method will not generate a figure, but rather the Mermaid code that can be executed,","default_branch":null,"files":null,"tree":[],"storefront":"/r/open-workflow-specification","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/open-workflow-specification/sdk-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}