Skip to main content

Simple workflow platform used in scientific applications, initially developed within the Scipion framework for image processing in Electron Microscopy.

Project description

PyPI release Quality Gate Status SonarCloud quality gate License Supported Python versions Downloads Contributor Covenant

pyworkflow

pyworkflow is a simple workflow platform used in scientific applications. It has been initially developed within the Scipion framework for image processing in Electron Microscopy.

pyworkflow allows you to define a working Domain by defining the following group of classes:

  • Objects: input/outputs that will be generated by different programs

  • Protocols: special type of Objects that have defined input parameters and will produce some output

  • Viewers: Entities that provide graphical analysis of results.

  • Wizards: Small GUIs that can be develop to help users to select given parameter values.

Development

To install pyworkflow for development purposes, one can do:

# Create a clean virtual environment
conda create -n scipion python=3.8
conda activate
git clone https://github.com/scipion-em/scipion-pyworkflow.git
cd scipion-pyworkflow
pip install -e .

Running tests

conda activate scipion
cd scipion-pyworkflow
export SCIPION_DOMAIN="pyworkflowtests/tests/mock_domain"
python -m unittest discover

# Simple project GUI can be shown after running tests:
python pyworkflow/apps/pw_project.py TestProtocolOutputs

All test projects are located in ~/ScipionUserData/Tests/

API documentation

https://scipion-em.github.io/docs/release-3.0.0/api/pyworkflow/pyworkflow.html

Project details


Download files

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

Source Distribution

scipion_pyworkflow-3.10.5.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

scipion_pyworkflow-3.10.5-py3-none-any.whl (835.7 kB view details)

Uploaded Python 3

File details

Details for the file scipion_pyworkflow-3.10.5.tar.gz.

File metadata

  • Download URL: scipion_pyworkflow-3.10.5.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for scipion_pyworkflow-3.10.5.tar.gz
Algorithm Hash digest
SHA256 2628fc3bcab78c973b0917ead6f99dbc8f22acd8ea5c5181c372deaa80dd7359
MD5 f723ba42d8fec6fee1045db5a8875dac
BLAKE2b-256 0dd3a0aa50aa16ee771eda5b2c8faf5ecec40ba692b83f5cc6d8f30920055ea8

See more details on using hashes here.

File details

Details for the file scipion_pyworkflow-3.10.5-py3-none-any.whl.

File metadata

File hashes

Hashes for scipion_pyworkflow-3.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f64a5294905a5d3e8a70bf13e5d0bf178908fd8414c1b3accd139cedf451e2ee
MD5 c47811b1c9e0e70eef9a829abb1cc8a4
BLAKE2b-256 b29971416a813a41e26c2663a80dabec2c70063e64d2fcbdda7389eb32c2f27a

See more details on using hashes here.

Supported by

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