Skip to main content

google-drive-export

Export and archive Google Drive files


Supported Python Versions


About:

This is a command line tool for exporting your personal Google Drive files using the Google Drive API v3.

It will export all files that are owned by your account (not shared with you from other users), and will not save native Google App files (Docs/Sheets/Slides/Forms/etc). Files are saved in their appropriate directory structure inside a directory named exported_files.

For more information:


Requirements:

  • Python 3.11+

Usage:

usage: google_drive_export [-h] [--dir DIR]

options:
  -h, --help  show this help message and exit
  --dir DIR   output directory

Installation

Install from PyPI using your preferred Python package manager:

  • pip: pip install google-drive-export
  • pipx: pipx install google-drive-export
  • uv: uv tool install google-drive-export

After installation, the google_drive_export command is available on your PATH.


Authorization for use with Google Drive:

After installing, you must follow these steps:

1. Enable the Google Drive API

3. Authorize credentials for a desktop application

  • Go to the Google Cloud console (Clients)

4. Run the program

google_drive_export
  • The first time you run it, a browser window will open and you will be prompted to authorize access to your Google account:
    • If you are not already signed in to your Google Account, sign in when prompted
    • If you are signed in to multiple accounts, select the account to use for authorization
    • Click Accept
  • Authorization information is stored in the file system (token.json), so the next time you run it, you aren't prompted for authorization

Metadata

Release files for google-drive-export 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-drive-export 0.1.5
File Size Uploaded Provenance Actions
google_drive_export-0.1.5.tar.gz 6.3 kB Without provenance Details for google_drive_export-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-drive-export 0.1.5
File Interpreter ABI Platform Actions
google_drive_export-0.1.5-py3-none-any.whl Python 3 none any Details for google_drive_export-0.1.5-py3-none-any.whl

Total release size: 12.8 kB

Release files / google_drive_export-0.1.5.tar.gz

Download URL google_drive_export-0.1.5.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ff07ace8d79617b29a954df825cb05bffbc86def910843f494d5035dcefbab6
BLAKE2b-256 checksum
How to use checksums
d45cff14e19693cd0abec0f9697b8c797af76d395bd4f57e89101496b2763acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / google_drive_export-0.1.5-py3-none-any.whl

Download URL google_drive_export-0.1.5-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ec3ff7c6086675a0f68459962ee80a80d114f062d2b94ffadf67849b56c2e96
BLAKE2b-256 checksum
How to use checksums
d05cbf92af933af83211ab37dddb1f6fc155ab359b26d2c96b3ad621e5b82713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for google-drive-export 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page