Skip to main content

The Data Manager workflow engine, schema and decoder.

Project description

Informatics Matters Data Manager Workflow Engine

PyPI package (latest) Build Publish

A package that simplifies the validation and decoding of Data Manager Workflow definitions.

Installation (Python)

The Job decoder is published on PyPI and can be installed from there:

pip install im-data-manager-workflow-engine

Once installed you can validate the workflow definition (expected to be a dictionary formed from the definition YAML file) with:

>>> from workflow import decoder
>>> error: Optional[str] = decoder.validate_schema(workflow)

Contributing

The project’s written in Python and uses Poetry for dependency and package management. We also use pre-commit to manage our pre-commit hooks, which rely on black, mypy, pylint, amongst others.

From within a VS Code devcontainer environment (recommended):

poetry install --with dev --sync
pre-commit install -t commit-msg -t pre-commit

And then start by running the pre-commit hooks to ensure you’re stating with a _clean_ project:

pre-commit run --all-files

And then run the tests:

poetry run coverage run -m pytest
poetry run coverage report

Get in touch

  • Report bugs, suggest features or view the source code on GitHub.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file im_data_manager_workflow_engine-2.0.0a10-py3-none-any.whl.

File metadata

File hashes

Hashes for im_data_manager_workflow_engine-2.0.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 b97ef8aa519d50c7bac776a83dd10e2c09356955c723c2932dbf871c0ffc8548
MD5 a4ad4877b8fe7e1be1547dcf60efd6ac
BLAKE2b-256 5fc7aa9d4a3d66c99cbad0b34c8b2bd6b25280c5e845e892875be3c6b65b11ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for im_data_manager_workflow_engine-2.0.0a10-py3-none-any.whl:

Publisher: publish.yaml on InformaticsMatters/squonk2-data-manager-workflow-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page