Skip to main content

Parallel execution of DVC stages

Project description

zincware PyPI version

paraffin

Paraffin, derived from the Latin phrase parum affinis meaning little related, is a Python package designed to run DVC stages in parallel. While DVC does not currently support this directly, Paraffin provides an effective workaround. For more details, refer to the DVC documentation on parallel stage execution.

[!WARNING] Although DVC supports running multiple dvc repro commands simultaneously, spawning many workers that finish at the same time may lead to DVC lock issues and unexpected failures.

Installation

Install Paraffin via pip:

pip install paraffin

Usage

To use Paraffin, you can run the following to run up to 4 DVC stages in parallel:

paraffin -n 4 <stage names>

If you have pip install dash you can also access the dashboard by running

paraffin --dashboard <stage names>

For more information, run:

paraffin --help

[!TIP] If you are building Python-based workflows with DVC, consider trying our other project ZnTrack for a more Pythonic way to define workflows.

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

paraffin-0.1.4.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

paraffin-0.1.4-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file paraffin-0.1.4.tar.gz.

File metadata

  • Download URL: paraffin-0.1.4.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for paraffin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ce060d51df9b9da23ca1ad6e90b4aeedd7c299cde6907eb3bcaa92f257b0070c
MD5 54b8edeebbf835d90ce729731a098bf8
BLAKE2b-256 0fe636f6b041a8cedd0d3ad646fec2811a91ee7e5f0b818ececba41aec618266

See more details on using hashes here.

File details

Details for the file paraffin-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: paraffin-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for paraffin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 172b23ab4d9e8bcec94f0f15c89286c8090ef6b5cd47d3dd65823297100fd1eb
MD5 584a74610bae82201b8af0c61c315e1e
BLAKE2b-256 f5435dc87ec8593438b302f2fb73fe18e87ac28eb5756858dc05771be38fbfbe

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