Implementation of a pyfilesystem2 filesystem for Google Drive
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fs/googledrivefs
tests
.gitattributes
.gitignore
LICENSE
README.rst
generate-credentials.py
pylintrc
pyproject.toml

README.rst

fs.googledrivefs

Implementation of pyfilesystem2 file system for Google Drive

Usage

fs = GoogleDriveFS(
  credentials=<google-auth credentials>)

# fs is now a standard pyfilesystem2 file system

fs2 = open_fs("googledrive:///?access_token=<oauth2 access token>&refresh_token=<oauth2 refresh token>&client_id=<oauth2 client id>&client_secret=<oauth2 client_secret>")

# fs2 is now a standard pyfilesystem2 file system