Skip to main content

A powerful, command-line utility to download and mirror public Google Drive files.

Project description

# 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:

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):**

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

**To mirror an entire public folder:**

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:**

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.

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

cloudsinker-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

cloudsinker-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file cloudsinker-0.1.0.tar.gz.

File metadata

  • Download URL: cloudsinker-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for cloudsinker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad99189e98a635846edea40038988bfab2b0cb4ef002657419aad9bfa2f75d47
MD5 1fb6937ce074448f5e8d961ba8a67b8e
BLAKE2b-256 4122b0ecf33739de93fc1bbe432caccebecf2786cc0ff5f9fb6746d690bf1cee

See more details on using hashes here.

File details

Details for the file cloudsinker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cloudsinker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for cloudsinker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c25211bbe95a7f697569a230fbb6ec876f436b55659bdfda8b4e5812116689e
MD5 79f451edc1cae145a6274d0177fa763e
BLAKE2b-256 73cd21d4cd17a3cf4220b884442a05f572ec7673f4d8c0c23117dd5e5b047f7f

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