All Projects → materialsproject → jobflow

materialsproject / jobflow

Licence: other
jobflow is a library for writing computational workflows.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Labels

Projects that are alternatives of or similar to jobflow

primrose
Primrose modeling framework for simple production models
Stars: ✭ 33 (+57.14%)
Mutual labels:  workflows
workflows
Bioinformatics workflows developed for and used on the St. Jude Cloud project.
Stars: ✭ 16 (-23.81%)
Mutual labels:  workflows
incubator-liminal
Apache Liminals goal is to operationalise the machine learning process, allowing data scientists to quickly transition from a successful experiment to an automated pipeline of model training, validation, deployment and inference in production. Liminal provides a Domain Specific Language to build ML workflows on top of Apache Airflow.
Stars: ✭ 117 (+457.14%)
Mutual labels:  workflows
bigflow
A Python framework for data processing on GCP.
Stars: ✭ 96 (+357.14%)
Mutual labels:  workflows
gruntworkflows
Repository for my tutorial course: Grunt.js Web Workflows on LinkedIn Learning and Lynda.com.
Stars: ✭ 28 (+33.33%)
Mutual labels:  workflows
ck-mlops
A collection of portable workflows, automation recipes and components for MLOps in a unified CK format. Note that this repository is outdated - please check the 2nd generation of the CK workflow automation meta-framework with portable MLOps and DevOps components here:
Stars: ✭ 15 (-28.57%)
Mutual labels:  workflows
ENIGMA
The ENIGMA Toolbox is an open-source repository for accessing 100+ ENIGMA statistical maps, visualizing cortical and subcortical surface data, and relating neuroimaging findings to micro- and macroscale brain organization. 🤠
Stars: ✭ 66 (+214.29%)
Mutual labels:  workflows
mdw
centurylinkcloud.github.io/mdw/
Stars: ✭ 44 (+109.52%)
Mutual labels:  workflows
branch-names
Github action to retrieve branch or tag names with support for all events.
Stars: ✭ 99 (+371.43%)
Mutual labels:  workflows
Emory-BMI-GSoC
Emory BMI GSoC Project Ideas
Stars: ✭ 27 (+28.57%)
Mutual labels:  workflows
org
📜 📒 Place for organization guidelines and workflows
Stars: ✭ 22 (+4.76%)
Mutual labels:  workflows
workflows
Bioinformatics curated workflows that use Biocontainers tools
Stars: ✭ 18 (-14.29%)
Mutual labels:  workflows
verify-changed-files
Github action to verify file changes that occur during the workflow execution.
Stars: ✭ 62 (+195.24%)
Mutual labels:  workflows
steep
⤴️ Steep Workflow Management System – Run scientific workflows in the Cloud
Stars: ✭ 30 (+42.86%)
Mutual labels:  workflows
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+676.19%)
Mutual labels:  workflows
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+3390.48%)
Mutual labels:  workflows
shyft
⬡ Shyft is a server-side framework for building powerful GraphQL APIs 🚀
Stars: ✭ 56 (+166.67%)
Mutual labels:  workflows
Niffler
Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
Stars: ✭ 52 (+147.62%)
Mutual labels:  workflows
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+195.24%)
Mutual labels:  workflows
mozilla-sprint-2018
DEPRECATED & Materials Moved: This sprint was to focus on brainstorming for the Joint Roadmap for Open Science Tools.
Stars: ✭ 24 (+14.29%)
Mutual labels:  workflows

jobflow

code coverage code coverage pypi version supported python versions

Jobflow is a free, open-source library for writing and executing workflows. Complex workflows can be defined using simple python functions and executed locally or on arbitrary computing resources using the FireWorks workflow manager.

Some features that distinguish jobflow are dynamic workflows, easy compositing and connecting of workflows, and the ability to store workflow outputs across multiple databases.

Is jobflow for me

jobflow is intended to be a friendly workflow software that is easy to get started with, but flexible enough to handle complicated use cases.

Some of its features include:

  • A clean and flexible Python API.
  • A powerful approach to compositing and connecting workflows — information passing between jobs is a key goal of jobflow. Workflows can be nested allowing for a natural way to build complex workflows.
  • Integration with multiple databases (MongoDB, S3, GridFS, and more) through the Maggma package.
  • Support for the FireWorks workflow management system, allowing workflow execution on multicore machines or through a queue, on a single machine or multiple machines.
  • Support for dynamic workflows — workflows that modify themselves or create new ones based on what happens during execution.

Workflow model

Workflows in jobflows are made up of two main components:

  • A Job is an atomic computing job. Essentially any python function can be Job, provided its input and return values can be serialized to json. Anything returned by the job is considered an "output" and is stored in the jobflow database.
  • A Flow is a collection of Job objects or other Flow objects. The connectivity between jobs is determined automatically from the job inputs. The execution order of jobs is automatically determined based on their connectivity.

Python functions can be easily converted in to Job objects using the @job decorator. In the example below, we define a job to add two numbers.

from jobflow import job, Flow

@job
def add(a, b):
    return a + b

add_first = add(1, 5)
add_second = add(add_first.output, 5)

flow = Flow([add_first, add_second])
flow.draw_graph().show()

The output of the job is accessed using the output attribute. As the job has not yet been run, output contains be a reference to a future output. Outputs can be used as inputs to other jobs and will be automatically "resolved" before the job is executed.

Finally, we created a flow using the two Job objects. The connectivity between the jobs is determined automatically and can be visualised using the flow graph.

simple flow graph

Installation

The jobflow is a Python 3.7+ library and can be installed using pip.

pip install jobflow

Quickstart and tutorials

To get a first glimpse of jobflow, we suggest that you follow our quickstart tutorial. Later tutorials delve into the advanced features of jobflow.

Need help?

Ask questions about jobflow on the jobflow support forum. If you've found an issue with jobflow, please submit a bug report on GitHub Issues.

What’s new?

Track changes to jobflow through the changelog.

Contributing

We greatly appreciate any contributions in the form of a pull request. Additional information on contributing to jobflow can be found here. We maintain a list of all contributors here.

License

jobflow is released under a modified BSD license; the full text can be found here.

Acknowledgements

Jobflow was designed and developed by Alex Ganose while in the group of Anubhav Jain.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].