Name | gdsync666 JSON |
Version |
0.0.2
JSON |
| download |
home_page | |
Summary | Bidirectionally sync your local folder with a one from Google Drive |
upload_time | 2023-07-04 09:47:24 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
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. |
keywords |
google drive
sync
upload
download
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![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
)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "gdsync666",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "Google Drive,sync,upload,download",
"author": "",
"author_email": "Daniil Chalov <cyber.barrista@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/06/bd/dfa91c7836ca0be0128c441b9bd1d9003beaf8f2db3be7052c56833c2ddf/gdsync666-0.0.2.tar.gz",
"platform": null,
"description": "![Google Drive sync logo](https://raw.githubusercontent.com/cyber-barrista/gdsync/master/google-drive-logo-logo.png)\n# Google Drive Sync\nA Python library to automatically synchronize your Google Drive content with local storage folder\n\n# Install\n\n```\npip install gdsync666\n```\n\n# Usage\n\n```python\nfrom google_drive_sync import upload, download\n\npath_to_my_credentials = \"credentials.json\"\nlocal_folder = \"./local-storage\"\ngoogle_drive_folder = \"local-storage-backup\"\n\n# Puts all files from the local folder up to the drive one\nupload(\n creds_file=path_to_my_credentials,\n local_folder=local_folder,\n remote_folder=google_drive_folder\n)\n\n# Gets additional files added to the drive folder later downloaded down to the local replica\ndownload(\n creds_file=path_to_my_credentials,\n local_folder=local_folder,\n remote_folder=google_drive_folder\n)\n```\n",
"bugtrack_url": null,
"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. ",
"summary": "Bidirectionally sync your local folder with a one from Google Drive",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/cyber-barrista/gdsync"
},
"split_keywords": [
"google drive",
"sync",
"upload",
"download"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0bb9fefad1a9ddc90bcf8cfd3a8313d857abe54d210dcdf17fec8fd75becfad4",
"md5": "c59284117e406fae0dc62c0ee99f4f7a",
"sha256": "80fbd4b88e25f13131441349e21f381c0f7703f67f885759b3f272ae4abc29b9"
},
"downloads": -1,
"filename": "gdsync666-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c59284117e406fae0dc62c0ee99f4f7a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 10715,
"upload_time": "2023-07-04T09:47:23",
"upload_time_iso_8601": "2023-07-04T09:47:23.611950Z",
"url": "https://files.pythonhosted.org/packages/0b/b9/fefad1a9ddc90bcf8cfd3a8313d857abe54d210dcdf17fec8fd75becfad4/gdsync666-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06bddfa91c7836ca0be0128c441b9bd1d9003beaf8f2db3be7052c56833c2ddf",
"md5": "857cac82db73a596fceb4e6c37e49dc5",
"sha256": "235aea911f4d423ced9c92fab1ea64c8e37e13417021a6bf1f5d6ac476f14a5f"
},
"downloads": -1,
"filename": "gdsync666-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "857cac82db73a596fceb4e6c37e49dc5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7275,
"upload_time": "2023-07-04T09:47:24",
"upload_time_iso_8601": "2023-07-04T09:47:24.900445Z",
"url": "https://files.pythonhosted.org/packages/06/bd/dfa91c7836ca0be0128c441b9bd1d9003beaf8f2db3be7052c56833c2ddf/gdsync666-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-04 09:47:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cyber-barrista",
"github_project": "gdsync",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gdsync666"
}