Skip to main content

Bidirectionally sync your local folder with a one from Google Drive

Project description

Google Drive sync logo

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


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.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdsync666-0.0.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file gdsync666-0.0.2.tar.gz.

File metadata

  • Download URL: gdsync666-0.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.4

File hashes

Hashes for gdsync666-0.0.2.tar.gz
Algorithm Hash digest
SHA256 235aea911f4d423ced9c92fab1ea64c8e37e13417021a6bf1f5d6ac476f14a5f
MD5 857cac82db73a596fceb4e6c37e49dc5
BLAKE2b-256 06bddfa91c7836ca0be0128c441b9bd1d9003beaf8f2db3be7052c56833c2ddf

See more details on using hashes here.

File details

Details for the file gdsync666-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gdsync666-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.4

File hashes

Hashes for gdsync666-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80fbd4b88e25f13131441349e21f381c0f7703f67f885759b3f272ae4abc29b9
MD5 c59284117e406fae0dc62c0ee99f4f7a
BLAKE2b-256 0bb9fefad1a9ddc90bcf8cfd3a8313d857abe54d210dcdf17fec8fd75becfad4

See more details on using hashes here.

Supported by

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