Git for data scientists - manage your code and data together
Project description
Website • Docs • Discuss • Blog • Twitter • Tutorial
Data Science Version Control or DVC is an open-source tool for data science projects. With a simple and flexible Git-like architecture and interface it helps data scientists:
manage code together with data files and models;
make projects reproducible;
make projects shareable;
manage experiments with branching and metrics tracking;
It aims to replace tools like Excel and Docs that are being commonly used as a knowledge repo and a ledger for the team, ad-hoc scripts to track and move deploy different model versions, ad-hoc data file suffixes and prefixes.
Quick start
Please read Get Started for the full version. Common workflow commands include:
Step |
Command |
---|---|
Track code and data together |
$ git add train.py
$ dvc add images.zip
|
Connect code and data by commands |
$ dvc run -d images.zip -o images/ unzip -q images.zip
$ dvc run -d images/ -d train.py -o model.p python train.py
|
Make changes and reproduce |
$ vi train.py
$ dvc repro model.p.dvc
|
Share code |
$ git add .
$ git commit -m 'The baseline model'
$ git push
|
Share data and ML models |
$ dvc remote add myremote s3://mybucket/image_cnn
$ dvc core.remote myremote
$ dvc push
|
Installation
There are three options to install DVC: pip, Homebrew, or an OS-specific package:
pip install dvc
Package
Self-contained packages for Windows, Linux, Mac are available. The latest version of the packages can be found at GitHub releases page.
Homebrew
brew install iterative/homebrew-dvc/dvc
or:
brew cask install iterative/homebrew-dvc/dvc
How DVC works
DVC is compatible with Git for storing code and the dependency graph (DAG), but not data files cache. To store and share data files cache DVC supports remotes - any cloud (S3, Azure, Google Cloud, etc) or any on-premise network storage (via SSH, for example).
Contributing
Contributions are welcome! Please see our Contributing Guide for more details.
Copyright
This project is distributed under the Apache license version 2.0 (see the LICENSE file in the project root).
By submitting a pull request for this project, you agree to license your contribution under the Apache license version 2.0 to this project.
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 Distributions
Built Distribution
File details
Details for the file dvc-0.16.3-py2.py3-none-any.whl
.
File metadata
- Download URL: dvc-0.16.3-py2.py3-none-any.whl
- Upload date:
- Size: 68.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2b174e6f0acc9b1342d3050ae13c3c4192586ab75af8a1297130705ed576a7 |
|
MD5 | aec634ccd33a3944d85e806c843c546c |
|
BLAKE2b-256 | b719e58b329dc362c03f5587a0421475d29859fe4c403f21fd4c6b2e26cd7ca3 |