GDrive Python
Installing
$ pip install pygdrive3fixed
Usage
from pygdrive3fixed 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
Release files for pygdrive3fixed 0.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygdrive3fixed-0.6.8.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygdrive3fixed-0.6.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / pygdrive3fixed-0.6.8.tar.gz
| Download URL | pygdrive3fixed-0.6.8.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcbe54f65f398068132be4906ff8e92c607bd5c3e8fed633007f7ba4c2910db3
|
|
BLAKE2b-256 checksum How to use checksums |
881b4697b8bbbb2974e818ea891b8a348945ca340f978d3d240f8883df96f0b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Release files / pygdrive3fixed-0.6.8-py3-none-any.whl
| Download URL | pygdrive3fixed-0.6.8-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d7bbf80837c4d4e262e8e7530872e8d77e58efee32d50fb66fb6a8cfa892eb1
|
|
BLAKE2b-256 checksum How to use checksums |
3061b719ff657d3f2aa1a3996ee937ce08e299f2f4e478d65424dae62553e5bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|