# google-drive-downloader
Minimal class to download shared files from Google Drive.
### How to install:
This package is on [PyPI](https://pypi.org/project/googledrivedownloader/). Installing is as simple as
```
pip install googledrivedownloader
```
### Hello World
```python
from googledrivedownloader import download_file_from_google_drive
# Single image file
download_file_from_google_drive(file_id='1H1ett7yg-TdtTt6mj2jwmeGZaC8iY1CH',
dest_path='data/crossing.jpg')
# Zip archive
download_file_from_google_drive(file_id='13nD8T7_Q9fkQzq9bXF2oasuIZWao8uio',
dest_path='data/docs.zip', unzip=True)
```
### Tips
* Set `showsize=True` to see the download progress
* Set `overwrite=True` you really want to overwrite an already existent file.
Raw data
{
"_id": null,
"home_page": null,
"name": "googledrivedownloader",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Andrea Palazzi <ndrplz@gmail.com>",
"keywords": null,
"author": "Davide Abati and Andrea Palazzi",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/7d/13/606bf0c78f5602d3380896d5465ea1f041172a9432cf3cabb3e4f7a74b95/googledrivedownloader-1.0.0.tar.gz",
"platform": null,
"description": "# google-drive-downloader\nMinimal class to download shared files from Google Drive.\n\n### How to install:\n\nThis package is on [PyPI](https://pypi.org/project/googledrivedownloader/). Installing is as simple as\n\n```\npip install googledrivedownloader\n```\n\n### Hello World\n\n```python\nfrom googledrivedownloader import download_file_from_google_drive\n\n# Single image file\ndownload_file_from_google_drive(file_id='1H1ett7yg-TdtTt6mj2jwmeGZaC8iY1CH',\n dest_path='data/crossing.jpg')\n# Zip archive\ndownload_file_from_google_drive(file_id='13nD8T7_Q9fkQzq9bXF2oasuIZWao8uio',\n dest_path='data/docs.zip', unzip=True)\n```\n\n\n### Tips\n* Set `showsize=True` to see the download progress\n* Set `overwrite=True` you really want to overwrite an already existent file.\n",
"bugtrack_url": null,
"license": null,
"summary": "Minimal class to download shared files from Google Drive.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/ndrplz/google-drive-downloader",
"Issues": "https://github.com/ndrplz/google-drive-downloader/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "09c753b3e72e70adf6f8ca883698df9dc47c8c293c8d56e29b32a0f64443f210",
"md5": "2f7f716d36ff5ba6ea14b812106c1af1",
"sha256": "dcdc42a48df62eaa1732b93664c7b56c4d49218b9c28fa7868a39f6481bd58b9"
},
"downloads": -1,
"filename": "googledrivedownloader-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2f7f716d36ff5ba6ea14b812106c1af1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4004,
"upload_time": "2025-01-08T18:58:53",
"upload_time_iso_8601": "2025-01-08T18:58:53.000082Z",
"url": "https://files.pythonhosted.org/packages/09/c7/53b3e72e70adf6f8ca883698df9dc47c8c293c8d56e29b32a0f64443f210/googledrivedownloader-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d13606bf0c78f5602d3380896d5465ea1f041172a9432cf3cabb3e4f7a74b95",
"md5": "cca51dc854fba6f9fc7f639fcb103c43",
"sha256": "b565a454945506a32370b0c9a47731bd2ac9701159e3dfe262d194d4d60f4cbc"
},
"downloads": -1,
"filename": "googledrivedownloader-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "cca51dc854fba6f9fc7f639fcb103c43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3000,
"upload_time": "2025-01-08T18:58:55",
"upload_time_iso_8601": "2025-01-08T18:58:55.189289Z",
"url": "https://files.pythonhosted.org/packages/7d/13/606bf0c78f5602d3380896d5465ea1f041172a9432cf3cabb3e4f7a74b95/googledrivedownloader-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-08 18:58:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ndrplz",
"github_project": "google-drive-downloader",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "googledrivedownloader"
}