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

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


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 Distribution

scipion-pyworkflow-3.1.0.tar.gz (989.1 kB view details)

Uploaded Source

File details

Details for the file scipion-pyworkflow-3.1.0.tar.gz.

File metadata

  • Download URL: scipion-pyworkflow-3.1.0.tar.gz
  • Upload date:
  • Size: 989.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for scipion-pyworkflow-3.1.0.tar.gz
Algorithm Hash digest
SHA256 22b2bca92f87d04f28cbd79c80d2344ad6fb9ee3591806643d9aac920f878c55
MD5 43faf2f3ad8793135211a3ac3dd8858d
BLAKE2b-256 324dd3de0f366ca5bb34a24eb21d262660e4d0ae913fbe4e26799d361b5b14ac

See more details on using hashes here.

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