Socket
Socket
Sign inDemoInstall

googledrive-files

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googledrive-files

Simple Google Drive API wrapper


Maintainers
1

pyGoogleDriveFiles

Python module 'googledrive-files' is a simple wrapper for the files Resource of Google Drive API.

Features:

  • List files and folders.
  • Create, read, write, and delete files.

Requirement

  • Python 3.5 or above

Installation

pip install googledrive-files

Basic Usage

>>> from googledrive import Service
>>> with Service(credentials).files() as gdrive:
...   file_content = gdrive.read(['dirA', 'subdir1'], 'filename')
...   gdrive.write(['dirB', 'subdir2'], 'filename.txt',
...                file_content, 'text/plain')

Documentation

Documentation is available online.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc