$npx skillfedfor your agent

PyDrive2

Google Drive API made easy. Maintained fork of PyDrive.

Worth itPyPI WWW/HTTPReleased Nov 20241.1M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — PyDrive2-1.21.3-py3-none-any.whl
v1.21.3 · released 2024-11-29 · Python >=3.8 · 5 runtime deps: google-api-python-client, oauth2client, PyYAML, cryptography, pyOpenSSL

Yes. PyDrive2 is actively maintained, carries no known vulnerabilities, has low install friction, and solves a real problem—Google Drive API V2 is verbose and requires careful OAuth2 setup. If you need to interact with Google Drive from Python, this wrapper saves substantial boilerplate. The permissive Apache 2.0 license poses no restriction. The only gotcha is the OAuth2 flow setup; read the documentation first.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires client_secrets.json from Google API Console and local web server access for OAuth2 authentication flow.
  • Low install friction with a pure Python wheel.
  • Actively maintained as of 2026-08-05 with recent release activity; maintained by the DVC project team.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.

last release 2024-11-29 (623 days) · last repo commit 2026-08-05 · 670 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,084,027 downloads/mo, #4,390 on PyPI

Verify before relying

pip install PyDrive2

from pydrive2.auth import GoogleAuth
from pydrive2.drive import GoogleDrive

gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
file_list = drive.ListFile({'q': "'root' in parents"}).GetList()
  • Whether the fsspec integration (GDriveFileSystem) is production-ready or still experimental.
  • Performance characteristics when handling large file uploads or working with deeply nested directory structures.
  • Concurrency guarantees beyond the stated thread-safety claim—whether it handles quota limits or rate limiting.
Same gist for agents: .md · .json

What it is and what it does

PyDrive2 is a maintained fork of the original PyDrive, built to simplify working with Google Drive through Python. It wraps google-api-python-client into higher-level classes representing Drive resources (files, folders) and handles OAuth2 authentication in just a few lines of code. Instead of writing raw API calls, you work with objects—create files, set content, upload, download, and query with methods like CreateFile(), Upload(), and GetContentFile().

The package automates common friction points: OAuth2 setup via settings.yaml, pagination through file listings, and efficient upload/update logic that chooses the right API method (insert, patch, or update) based on what changed. It also provides an fsspec-compatible filesystem interface for treating Google Drive like a local filesystem. Supports Python 3.8+ and carries no known security vulnerabilities.

Use it for

  • Automate bulk file uploads or downloads to/from Google Drive in a data pipeline or backup script.
  • Build a Python application that needs OAuth2-authenticated access to a user's Drive without writing low-level API boilerplate.
  • Implement file listing and search with automatic pagination handling across large Drive directories.
  • Use Google Drive as a remote filesystem backend via fsspec for seamless integration with tools like DVC or data processing workflows.
  • Manage shared Drive resources programmatically (create, update, delete files) in a team collaboration tool.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PyDrive2 is actively maintained, carries no known vulnerabilities, has low install friction, and solves a real problem—Google Drive API V2 is verbose and requires careful OAuth2 setup. If you need to interact with Google Drive from Python, this wrapper saves substantial boilerplate. The permissive Apache 2.0 license poses no restriction. The only gotcha is the OAuth2 flow setup; read the documentation first.

Install

pydrive2 on PyPI

Before you install

Low install friction with a pure Python wheel. Actively maintained as of 2026-08-05 with recent release activity; maintained by the DVC project team. Five runtime dependencies including google-api-python-client and oauth2client handle the underlying API and authentication.

Requires client_secrets.json from Google API Console and local web server access for OAuth2 authentication flow.

License in practice

Licensed under Apache License 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install PyDrive2

from pydrive2.auth import GoogleAuth
from pydrive2.drive import GoogleDrive

gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
file_list = drive.ListFile({'q': "'root' in parents"}).GetList()

Verify before relying

  • Whether the fsspec integration (GDriveFileSystem) is production-ready or still experimental.
  • Performance characteristics when handling large file uploads or working with deeply nested directory structures.
  • Concurrency guarantees beyond the stated thread-safety claim—whether it handles quota limits or rate limiting.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
google-api-python-clientoauth2clientPyYAMLcryptographypyOpenSSL
MaintenanceActively maintained 623 days since the last release
Last repo commit
First released
Downloads1,084,027 / month, #4,390 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: PyDrive2-1.21.3-py3-none-any.whl

Tags

Capabilities
google drive api wrapperoauth2 google driveupload download files google drivegoogle drive file managementdrive api pythongoogle drive paginationfsspec google drive
Topics
google-driveoauth2file-management

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 api wrapper”

  • PyDrive2PyDrive2 simplifies Google Drive API V2 operations by wrapping the…
  • PyDrivePyDrive wraps the Google Drive API into Python classes, simplifying…
  • googledrivedownloaderDownloads shared files from Google Drive by file ID and saves them…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also PyDrive · gdrive-fsspec · requests-oauthlib · google-resumable-media · oauth2client · dvc-gdrive · oauth2-client · edx-rest-api-client · gcs-oauth2-boto-plugin · dvc-objects