GDVC Mini
Simple version control using Google Drive folders. Simplifes the process of quick iteration and dev sharing within drive.
A simplified midway between dvc/rclone.
Alternatives:
Rclone/DVC:
- Rclone/dvc require permissions for downloading and initial setup. This makes others testing a repo harder
- DVC also uses a custom file format and doesn't allow for quick downloading for testing
Git LFS:
- Limited file storage and no support for custom backends
Note: This is not intended for full model checkpoints, as each version currently duplicates the entire folder.
Install
pip install gdvc
dev Version:
pip install -e .
push to drive setup:
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/drive
init your drive folder:
gdvc init https://drive.google.com/drive/folders/YOUR_FOLDER_ID
Usage
Track directories:
gdvc track add models
gdvc track add data
gdvc track list
Upload a version (to your configured private Google Drive folder):
gdvc upload v1
Download version:
gdvc download v1
gdvc download latest
Change to different Drive folder:
gdvc change_folder_root https://drive.google.com/drive/folders/NEW_FOLDER_ID
Commands
init <folder_url>- Initialize projecttrack add/remove/list- Manage tracked directoriesupload <version>- Upload tracked directories as versiondownload <version>- Download version to current directorychange_folder_root <url>- Switch to new Drive folder, keep current version onlypublish <version>- Make version publicupdate- Download latest version
File Structure
Uploads create: version_name/directory_name/files
Downloads merge into current directory preserving structure.
Configuration
Project settings are stored in .gdvc_config.json which can be safely committed to git.
Contains Drive folder URLs, version history, and tracked directories.
Sample config structure:
{
"drive_folder_url": "https://drive.google.com/drive/folders/<sample_folder>",
"versions": {
"v1.0": {
"url": "https://drive.google.com/drive/folders/<sample_folder>",
"local_path": ".",
"is_public": false
},
},
"public_version": "v0",
"current_version": "v1.0",
"tracked_directories": ["models", "data"]
}
Metadata
Release files for gdvc 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gdvc-0.0.2.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gdvc-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / gdvc-0.0.2.tar.gz
| Download URL | gdvc-0.0.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
884eedd5102334c1092fcf2f817b739daf54a6e13029862e88313da8cec531d7
|
|
BLAKE2b-256 checksum How to use checksums |
8cfd6cd3dbc6b49a7e402cca994fed4b1632bd51f3f54e647aa2fee4055b8cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|
Release files / gdvc-0.0.2-py3-none-any.whl
| Download URL | gdvc-0.0.2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fddd1af67010135d1b58b0d55116fa054e13ea916de16e83d4f0b011f252d41
|
|
BLAKE2b-256 checksum How to use checksums |
077255b30e047b0ac221b65356fb218de0259fcfa377c880960a090edeb1ecae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|