Metadata-Version: 2.1
Name: gdsync666
Version: 0.0.1
Summary: Bidirectionally sync your local folder with a one from Google Drive
Author-email: Daniil Chalov <cyber.barrista@gmail.com>
License: Copyright (c) 2012-2023 Scott Chacon and others
        
        Permission is hereby granted, free of charge, to any person obtaining
        a copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be
        included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
        LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
        OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
        WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
Project-URL: Homepage, https://github.com/cyber-barrista/gdsync
Keywords: Google Drive,sync,upload,download
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: google-api-python-client (>=2.89.0)
Requires-Dist: google-auth-oauthlib (>=1.0.0)
Requires-Dist: oauth2client (>=4.1.3)
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: bumpver ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: pip-tools ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'

![Google Drive sync logo](https://raw.githubusercontent.com/cyber-barrista/gdsync/master/google-drive-logo-logo.png)
# Google Drive Sync
A Python library to automatically synchronize your Google Drive content with local storage folder

# Install

```
pip install gdsync666
```

# Usage

```python
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
)
```
