gdrive-fsspec
File system on GDrive
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- 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.
License · maintenance · safety
permissive license (permissive) — BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.
last release 2026-06-11 (64 days) · last repo commit 2026-06-29 · 51 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 159,425 downloads/mo, #10,695 on PyPI
Alternatives
Verify before relying
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('/')- 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.
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 on this page. Verify before relying on it.
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
gdrive-fsspec on PyPI
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.
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.
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('/')
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 | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesfsspecgoogle-api-python-clientgoogle-auth-httplib2google-auth-oauthlibpydata_google_auth |
| Maintenance | Actively maintained 64 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 159,425 / month, #10,695 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: gdrive_fsspec-0.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google drive filesystem interface”
- gdrive-fsspecProvides a fsspec-compatible filesystem interface for Google Drive,…
- PyDrive2PyDrive2 simplifies Google Drive API V2 operations by wrapping the…
- msgraphfsProvides a filesystem interface to Microsoft Graph API drives…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also googledrivedownloader · morefs · msgraphfs · scmrepo · fsspec · sshfs · gcsfs · dvc-gdrive · ossfs · dvc-objects