Skip to main content

Simple Google Drive API wrapper

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

googledrive-files-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googledrive_files-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file googledrive-files-0.1.1.tar.gz.

File metadata

  • Download URL: googledrive-files-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for googledrive-files-0.1.1.tar.gz
Algorithm Hash digest
SHA256 77e288e6c588478b5246c49be82ac420cc7bba3f3228665088245a49565ad7f7
MD5 3f9e58e4712b3cf841a8fa9552621604
BLAKE2b-256 eabc5da65999a1d734138e4eb540611bae8bcc1c02bd5b9c2133f3a02d90f4e1

See more details on using hashes here.

File details

Details for the file googledrive_files-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for googledrive_files-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60ec69781efe14a9daa8b92083baac0e1d12b5298c845d8450a4b292198424f7
MD5 c1f105c190b13ada5acd0ab5b1b39af1
BLAKE2b-256 1d8bb8c5fd1c6f0f47334c5ec661381562575281eca9e3eeb1a57c7f4d997e7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page