Skip to main content

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

Metadata

Release files for pygdrive3 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygdrive3 0.8.1
File Size Uploaded Provenance
pygdrive3-0.8.1.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pygdrive3 0.8.1
File Interpreter ABI Platform
pygdrive3-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / pygdrive3-0.8.1.tar.gz

Download URL pygdrive3-0.8.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7d5bdf7346c015300c480d32ea22a664d4a3d90e0a70a9b5642918e5f85d01db
BLAKE2b-256 checksum
How to use checksums
9287666be57f3c6b272f47985cebff0eb95c61c66371574f17766627fa6efb07
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pygdrive3-0.8.1-py3-none-any.whl

Download URL pygdrive3-0.8.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42e9e48359a17658e266a2affe7443d6fce953398fd40e3c4aae37f3bf77080d
BLAKE2b-256 checksum
How to use checksums
a2e51f23903e55b2492d46f5ac2344e984c02997b2148b9ced1d13799c9918f8
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pygdrive3 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page