PyDrive
Google Drive API made easy.
What it is and what it does
PyDrive is a wrapper around the Google Drive API that abstracts away much of the boilerplate needed to authenticate and interact with Google Drive from Python. It handles OAuth2 setup in a few lines, wraps Drive resources into object-oriented classes, and provides convenience methods for common tasks like file upload, download, and listing with automatic pagination.
The package has been abandoned since its last release on 2016-10-24 and is no longer maintained. While it has no runtime dependencies and installs easily, the underlying Google API client library and Google's authentication requirements have evolved significantly since then. Any new project should carefully evaluate whether this package will work with current Google Drive API versions and modern Python environments before committing to it.
Use it for:
- Automate file uploads and downloads to Google Drive from a Python script without writing extensive API boilerplate.
- List and iterate through Google Drive files with automatic pagination handling.
- Set up OAuth2 authentication to Google Drive in a small Python application with minimal configuration.
- Manage file metadata and perform batch operations on Google Drive files programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyDrive wraps the Google Drive API into Python classes, simplifying OAuth2 authentication and common file operations like upload, download, and listing on Google Drive.
No. The project is archived and abandoned since 2016-10-24 with no maintenance. While it has low install friction and no known vulnerabilities, the lack of updates means it will not work reliably with current Google Drive API versions or modern Python releases. Start a new project with an actively maintained alternative or use the underlying API library directly.
Install
pydrive on PyPI
pip
pip install pydriveuv
uv add pydrivepoetry
poetry add pydriveInstalling PyDrive
Before you install
Installation is straightforward with no runtime dependencies, but the project is archived and abandoned since 2016 with no maintenance. Use only if you accept the risk of unpatched issues and no future updates.
License in practice
License treatment is unclear; the raw LICENSE file exists but SPDX classification is unavailable. Review the repository's LICENSE file directly before use to confirm terms.
Quickstart
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
file_list = drive.ListFile({'q': "'root' in parents"}).GetList()
Requires a client_secrets.json file from Google API Console and local web server access for OAuth2 authentication flow.
Verify before relying
- Whether the package works with current Google Drive API versions and modern Python releases.
- Compatibility with recent google-api-python-client versions and any breaking changes.
- Whether OAuth2 flow still functions with current Google authentication requirements.
Package facts
| License | LICENSE (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,581 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 401,974/month — #6,921 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: PyDrive-1.3.1-py2-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
egnyteOfficial Python client library for Egnyte's…
permissive · top 15,000 on PyPI
PyDrive2PyDrive2 simplifies Google Drive API V2…
permissive · top 5,000 on PyPI
googledrivedownloaderDownloads shared files from Google Drive by…
unclear · top 15,000 on PyPI
google-api-python-clientProvides Python bindings to call Google's…
permissive · top 1,000 on PyPI
webdavclient3Python WebDAV client library providing access…
permissive · top 15,000 on PyPI
storage3Async Python client library for uploading,…
permissive · top 1,000 on PyPI
aiogoogleAiogoogle is an async Python client for…
permissive · top 5,000 on PyPI
python-documentcloudA Python wrapper for the DocumentCloud API that…
permissive · top 15,000 on PyPI
google-auth-oauthlibIntegrates oauthlib with google-auth to handle…
permissive · top 1,000 on PyPI
pyghidraPyGhidra provides native CPython 3 access to…
permissive · top 15,000 on PyPI