Bidirectionally sync your local folder with a one from Google Drive
Project description
Google Drive Sync
A Python library to automatically synchronize your Google Drive content with local storage folder
Install
pip install gdsync666
Usage
from google_drive_sync import upload, download
path_to_my_credentials = "credentials.json"
local_folder = "./local-storage"
google_drive_folder = "local-storage-backup"
# Puts all files from the local folder up to the drive one
upload(
creds_file=path_to_my_credentials,
local_folder=local_folder,
remote_folder=google_drive_folder
)
# Gets additional files added to the drive folder later downloaded down to the local replica
download(
creds_file=path_to_my_credentials,
local_folder=local_folder,
remote_folder=google_drive_folder
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gdsync666-0.0.1.tar.gz
(7.3 kB
view hashes)
Built Distribution
gdsync666-0.0.1-py3-none-any.whl
(10.6 kB
view hashes)
Close
Hashes for gdsync666-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0d00ca1cd631c421e638033b9a83b4f366ba025fc885261c30cd11a5f6ddd2 |
|
MD5 | f21d27d9e9c933762d581f154a12d61d |
|
BLAKE2b-256 | 4b515f298f504fd21805cd392ab4e4fee534da649f0ccbc676e58bc51dfaff59 |