Git for data scientists - manage your code and data together
Project description
Website • Docs • Twitter • Chat (Community & Support) • Tutorial • Mailing List
Data Science Version Control or DVC is an open-source tool for data science and machine learning projects. With a simple and flexible Git-like architecture and interface it helps data scientists:
manage machine learning models - versioning, including data sets and transformations (scripts) that were used to generate 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.
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).
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 config core.remote myremote
$ dvc push
|
Installation
There are three options to install DVC: pip, Homebrew, or an OS-specific package:
pip (PyPI)
Stable
pip install dvc
Development
pip install git+git://github.com/iterative/dvc
Homebrew
brew install iterative/homebrew-dvc/dvc
or:
brew cask install iterative/homebrew-dvc/dvc
Package
Self-contained packages for Windows, Linux, Mac are available. The latest version of the packages can be found at GitHub releases page.
Ubuntu / Debian (apt)
sudo wget https://dvc.org/deb/dvc.list -O /etc/apt/sources.list.d/dvc.list
sudo apt-get update
sudo apt-get install dvc
Fedora / CentOS (rpm)
sudo wget https://dvc.org/rpm/dvc.repo -O /etc/yum.repos.d/dvc.repo
sudo yum update
sudo yum install dvc
Arch linux (AUR)
Unofficial package, any inquiries regarding the AUR package, refer to the maintainer.
yay -S dvc
Contributing
Contributions are welcome! Please see our Contributing Guide for more details.
Mailing List
Want to stay up to date? Want to help improve DVC by participating in our occasional polls? Subscribe to our mailing list. No spam, really low traffic.
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 Distribution
Built Distribution
File details
Details for the file dvc-0.29.0.tar.gz
.
File metadata
- Download URL: dvc-0.29.0.tar.gz
- Upload date:
- Size: 89.1 kB
- Tags: Source
- 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 | 0c381b6f33646e3d87fd676df223ea44a3f360625f4cd38b760bddf8870075bd |
|
MD5 | a6ddf82737e625b15ac030a61723bff7 |
|
BLAKE2b-256 | 3640f35335f2c00a4914aedf1390463253ec887d0278cc4bd73ba0e1fff3b363 |
File details
Details for the file dvc-0.29.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dvc-0.29.0-py2.py3-none-any.whl
- Upload date:
- Size: 127.7 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 | 8cd5a6739a30730e48663b9320b5a60193fa19b9421ebd8eaf74cd0ceb1b5e94 |
|
MD5 | 89d76ac9ea2eb31a4e4faaf0f4b8c8d1 |
|
BLAKE2b-256 | 709ec04fd8ce62bf8dae5730864980e1cb3797188082c99f548592f63686b97c |