FastDS¶
FastDS is an open source tool that combines Git and DVC to allow easy versioning of code and data.
Installation¶
FastDS can be easily installed with:
$ uv add fastds
Introduction¶
Even the creation of the initial repository is greatly simplified:
$ git init
$ dvc init
$ git add .
$ dvc add data/data.xml
$ git add data/.gitignore data/data.xml.dvc
$ git commit -m "Initial commit"
$ dvc push -r origin
$ git push origin
becomes:
$ fds init
$ fds add .
$ fds save -m "Initial commit"
FastDS abbreviates Git and DVC commands to minimise input errors and automate repetitive tasks:
initinitialises both the Git and DVC repositories.
statusreturns the status of both repositories.
addadds files to the Git or DVC repository.
commitcommits changes to the Git or DVC repository.
cloneclones the Git repository and fetches data from the remote DVC repository.
pushpushes data to the remote Git and DVC repositories.
saveadds changes to the project and commits them to the remote Git and DVC repositories.