{"id":44801,"library":"dvc-gdrive","title":"DVC GDrive","description":"gdrive storage plugin for DVC (Data Version Control) enabling Google Drive as a remote storage backend. Current version 3.0.1, release cadence is irregular (follows DVC releases). Requires Python >=3.8.","status":"active","version":"3.0.1","language":"python","source_language":"en","source_url":"https://github.com/iterative/dvc-gdrive","tags":["dvc","gdrive","google-drive","data-version-control","storage"],"install":[{"cmd":"pip install dvc-gdrive","lang":"bash","label":"default"}],"dependencies":[{"reason":"Core dependency; dvc-gdrive is a plugin for DVC.","package":"dvc","optional":false},{"reason":"Google Drive API client","package":"pydrive2","optional":false}],"imports":[{"wrong":"import dvc.gdrive","symbol":"GDriveFileSystem","correct":"from dvc_gdrive import GDriveFileSystem"},{"wrong":"import dvc.gdrive","symbol":"FileSystem","correct":"from dvc_gdrive import FileSystem"},{"wrong":"import dvc.gdrive","symbol":"ConfigError","correct":"from dvc_gdrive import ConfigError"}],"quickstart":{"code":"import os\nimport dvc.api\n# Ensure dvc-gdrive is installed: pip install dvc-gdrive\n# Configure a GDrive remote (requires authentication)\nos.system('dvc remote add -d myremote gdrive://<folder_id>')\nos.system('dvc remote modify myremote gdrive_client_id <your_client_id>')\nos.system('dvc remote modify myremote gdrive_client_secret <your_client_secret>')\n# Push data\nos.system('dvc push -r myremote')","lang":"python","description":"Setup a GDrive remote and push data. Authentication via OAuth2 is required; first run opens a browser for authorization."},"warnings":[{"fix":"Split large files or use chunked uploads via dvc remote modify <name> chunk_size.","message":"Large files: Google Drive has a 5 TB file size limit and a 750 GB daily upload quota per user. Exceeding quota will cause upload failures.","severity":"gotcha","affected_versions":"all"},{"fix":"Create OAuth2 credentials in Google Cloud Console and set them via `dvc remote modify <name> gdrive_client_id` and `gdrive_client_secret`.","message":"Authentication requires a valid OAuth2 client ID and secret from Google Cloud Console. Without these, dvc push/pull fails with authentication errors.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Upgrade to dvc-gdrive >=2.0.0 and re-authenticate.","message":"Older versions (pre 2.0) used PyDrive; now requires pydrive2. Incompatible with DVC >=2.0.","severity":"deprecated","affected_versions":"<2.0.0"}],"env_vars":null,"search_vec":"'3.0.1':21 '3.8':31 'backend':18 'cadenc':23 'control':10,40 'current':19 'data':8,38 'data-version-control':37 'drive':13,36 'dvc':1,7,27,32 'enabl':11 'follow':26 'gdrive':2,3,33 'googl':12,35 'google-dr':34 'irregular':25 'plugin':5 'python':30 'releas':22,28 'remot':16 'requir':29 'storag':4,17,41 'version':9,20,39","created_at":"2026-06-07T12:51:54.597818+00:00","updated_at":"2026-06-07T12:51:54.597818+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://dvc.org","github":"https://github.com/iterative/dvc-gdrive","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}