--- id: gdrive-fsspec version: "0.4.1" license: BSD 3-Clause License Copyright (c) 2018, Martin Durant All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) license_treatment: permissive maintenance: active --- # gdrive-fsspec — File system on GDrive License: permissive · Maintenance: active · Downloads: 159.4K/mo ## What it is and what it does gdrive-fsspec wraps Google Drive as a filesystem using the fsspec abstraction layer, letting you treat Google Drive like a local or networked filesystem. It supports three authentication modes: service account credentials (for programmatic access without user prompts), OAuth with browser or console-based flow (for user-interactive scenarios), and anonymous read-only access to publicly shared files. The package implements the fsspec interface, so once authenticated, you can use standard filesystem operations—listing directories, reading and writing files, checking existence—against your Google Drive. The package is actively maintained but explicitly marked as beta, meaning the API or behavior may change and it is not recommended for production systems where stability is critical. It depends on Google's official API client libraries (google-api-python-client, google-auth-httplib2, google-auth-oauthlib) and pydata-google-auth for credential handling, all of which are well-established. The low install friction and support for modern Python versions (3.10–3.14) make it straightforward to add to existing projects. Use it for: - Integrate Google Drive as a data source in data pipelines or Jupyter notebooks without switching between APIs. - Build backup or sync tools that treat Google Drive as a standard filesystem target. - Access publicly shared Google Drive files programmatically without authentication setup. - Automate file operations on a shared team drive using service account credentials in CI/CD workflows. - Prototype cloud-agnostic code that can swap fsspec backends (local, S3, Google Drive) without rewriting logic. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a fsspec-compatible filesystem interface for Google Drive, allowing you to read, write, and browse files on Google Drive using standard filesystem operations. Yes, if you need to interact with Google Drive as a filesystem and can accept beta-stage stability. The low install friction, active maintenance, and permissive license make it a reasonable choice for development and non-critical workflows. Not recommended for production systems requiring guaranteed stability—wait for a stable release or use the official Google Drive API directly if production reliability is essential. ## Install pip install gdrive-fsspec uv add gdrive-fsspec poetry add gdrive-fsspec ## Installing gdrive-fsspec Before you install: Low install friction with a pure-Python wheel. Active maintenance as of June 2026, though the package is explicitly in beta stage and the maintainers caution against production use. License in practice: BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions. Quickstart: pip install gdrive_fsspec from gdrive_fsspec import GoogleDriveFileSystem # OAuth with browser-based auth (first time) fs = GoogleDriveFileSystem(token='browser') # Or reuse cached token on subsequent runs fs = GoogleDriveFileSystem(token='cache') # Standard fsspec operations files = fs.ls('/') Requires Python 3.10 or later. OAuth authentication requires either a browser (for interactive use) or console-based flow for headless environments. Service account or public-link access are alternatives. Verify before relying: - Whether the beta status implies specific known limitations beyond general production caution. - Performance characteristics and scalability limits for large file operations or directory listings. - Whether all fsspec operations are fully supported or if some have limitations on Google Drive. ## Package facts - License: BSD 3-Clause License Copyright (c) 2018, Martin Durant All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 159.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google drive filesystem interface, fsspec google drive, cloud storage filesystem abstraction, google drive file access, fsspec implementation, cloud file system python, cloud-storage, google-drive, filesystem-abstraction [View on SkillFed](https://skillfed.io/packages/gdrive-fsspec) · [View on PyPI](https://pypi.org/project/gdrive-fsspec/)