Drain is a lightweight framework for writing reproducible data science workflows in Python. The core features are:
Turn a Python workflow (DAG) into steps that can be run by a tool like make.
Enable easy parallel execution of workflows.
Execute only those steps that are determined to be necessary based on timestamps (both source code and data) and dependencies, virtually guaranteeing reproducibility of results and efficient development.
Drain is designed around these principles:
Simplicity: drain is very lightweight and easy to use. The core is just a few hundred lines of code. The steps you write in drain get executed with minimal overhead, making drain workflows easy to debug and manage.
Reusability: Drain leverages mature tools drake to execute workflows. Drain provides a library of steps for data science workflows including feature generation and selection, model fitting and comparison.
Generality: Virtually any workflow can be realized in drain. The core was written with extensibility in mind so new storage backends and job schedulers, for example, will be easy to incorporate.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for drain-0.0.6-py2.py3-none-any.whl