Skip to main content

Use Google Drive API v3 with a python interface

Project description

GDrive Python

License PyPI PyPI - Python Version Downloads

Contribute

If you found any missing feature please create an issue on that github repo or make your pull request.

Installing

$ pip install pygdrive3

Usage

from pygdrive3 import service

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

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.

Source Distribution

pygdrive3-0.8.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

pygdrive3-0.8.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pygdrive3-0.8.1.tar.gz.

File metadata

  • Download URL: pygdrive3-0.8.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for pygdrive3-0.8.1.tar.gz
Algorithm Hash digest
SHA256 7d5bdf7346c015300c480d32ea22a664d4a3d90e0a70a9b5642918e5f85d01db
MD5 3a435afaf38a3014a3cfcfb132c9bad2
BLAKE2b-256 9287666be57f3c6b272f47985cebff0eb95c61c66371574f17766627fa6efb07

See more details on using hashes here.

File details

Details for the file pygdrive3-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: pygdrive3-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for pygdrive3-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42e9e48359a17658e266a2affe7443d6fce953398fd40e3c4aae37f3bf77080d
MD5 db86980b39456ec450df5e470fbe0fd6
BLAKE2b-256 a2e51f23903e55b2492d46f5ac2344e984c02997b2148b9ced1d13799c9918f8

See more details on using hashes here.

Supported by

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