Metadata-Version: 2.4
Name: cloudsinker
Version: 0.1.0
Summary: A powerful, command-line utility to download and mirror public Google Drive files.
Author-email: daKKsh <indiedev404@gmail.com>
License: MIT License
        
        Copyright (c) [2025] [daKKsh]
        
        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/daksh47/cloudsinker
Project-URL: Issues, https://github.com/daksh47/cloudsinker/issues
Keywords: google-drive,download,utility,cli,gdown,mirror
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: license-file

\# cloudsinker



\[!\[License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)



A powerful, command-line utility designed to reliably download and synchronize public files and folders from Google Drive.



Its purpose is to fill the gap between simple, single-file downloaders (like `gdown`) and the full, complex Google Drive API.



\## 🚀 Core Features



\* \*\*Smart G-Workspace Export\*\*: Automatically detects links to Google Docs, Sheets, or Slides. Instead of downloading the HTML preview, it exports them in useful formats like `.pdf`, `.docx`, or `.csv`.

\* \*\*Recursive Folder Mirroring\*\*: Given a link to a public folder, it recursively crawls the entire directory and recreates the exact folder structure on your local machine.

\* \*\*Resilient Rate-Limit Handling\*\*: Built for large-scale downloads. When it hits Google's rate limits, it automatically waits and retries using exponential backoff.

\* \*\*Metadata "Pre-Flight" Check\*\*: A special mode that allows you to get rich information about a file (like its size, type, and name) before committing to the full download.



\## 💾 Installation



You can install `cloudsinker` directly from PyPI:



```bash

pip install cloudsinker

```



\## 💻 Basic Usage



Once installed, you can use the `cloudsinker` command from your terminal.



\*\*To download a single file (or export a G-Doc):\*\*

```bash

cloudsinker "\[https://docs.google.com/document/d/](https://docs.google.com/document/d/)..."

```



\*\*To mirror an entire public folder:\*\*

```bash

cloudsinker "\[https://drive.google.com/drive/folders/](https://drive.google.com/drive/folders/)..." ./my-local-folder

```



\*\*To run a "pre-flight" check on a file:\*\*

```bash

cloudsinker --check "\[https://drive.google.com/file/d/](https://drive.google.com/file/d/)..."

```



\## ⚖️ License



This project is licensed under the MIT License. See the `LICENSE` file for details.

