Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

adhesive

Project description

A CI/CD system build around BPMN and Python. Basically a BPMN runner with pyhton step implementations targeted for builds. Can run in the console.

Installation

pip install adhesive

User Tasks

In order to create user interactions, you can create UserTasks. These will define form elements that will be populated in the context.data, and available in subsequent tasks.

User tasks support the following API, available on the ui parameter, the parameter sent after the context.

class UiBuilderApi(ABC):
    def add_input_text(self,
                       name: str,
                       title: Optional[str] = None,
                       value: str = '') -> None:

    def add_input_password(self,
                           name: str,
                           title: Optional[str] = None,
                           value: str = '') -> None:

    def add_combobox(self,
                     name: str,
                     title: Optional[str] = None,
                     value: Optional[str]=None,
                     values: Optional[Iterable[Union[Tuple[str, str], str]]]=None) -> None:

    def add_checkbox_group(
            self,
            name: str,
            title: Optional[str]=None,
            value: Optional[Iterable[str]]=None,
            values: Optional[Iterable[Union[Tuple[str, str], str]]]=None) -> None:

    def add_radio_group(self,
                        name: str,
                        title: Optional[str]=None,
                        value: Optional[str]=None,
                        values: Optional[List[Any]]=None) -> None:

    def add_default_button(self,
                           name: str,
                           title: Optional[str]=None) -> None:

When a UserTask is encountered in the process flow, the user will be prompted to fill in the various parameters. Note that all the other tasks will continue running, proceeding forward with the build.

Configuration

Environment Variables

ADHESIVE_TEMP_FOLDER - Implicitly points to /tmp/adhesive. Is where all the builds files will be stored.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
adhesive-0.2.7.tar.gz (27.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page