Skip to main content

Use Google Drive API v3 with a python interface

Project description

GDrive Python

PyPI PyPI - Python Version


$ pip install pygdrive3


from pygdrive3 import service

drive_service = service.DriveService('./client_secret.json')

folder = drive_service.create_folder('Xesque')
file = drive_service.upload_file('Arquivo Teste', './files/test.pdf', folder)
link = drive_service.anyone_permission(file)

folders = drive_service.list_folders_by_name('Xesque')
files = drive_service.list_files_by_name('Arquivo Teste')

files_from_folder = drive_service.list_files_from_folder_id(folder)

by Matheus Almeida

Use Google Drive API v3 with a python interface

MIT License

Project details

Download files

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

Files for pygdrive3, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size pygdrive3-0.6.0-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pygdrive3-0.6.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page