Skip to main content

AI-powered Google Drive folder structure analyzer and reorganizer

Project description

Drive Reorganizer

A CLI tool that reads your Google Drive folder structure and uses Claude AI to suggest a smarter reorganization.

How it works

  1. Authenticates with Google Drive via OAuth (read-only access)
  2. Fetches your entire folder structure and file metadata in a single API sweep
  3. Sends the structure to Claude, which analyzes it and suggests improvements
  4. Displays the current structure and AI suggestions in the terminal

No file contents are ever read — only names, types, and modification dates.

Installation

pip install drive-reorganizer

Setup

Run the interactive setup wizard:

drive-reorganizer setup

The wizard will guide you through:

  1. Anthropic API key — enter your key when prompted; it's saved to ~/.config/drive-reorganizer/config.json
  2. Google Drive authentication — a browser window opens for sign-in; your token is cached automatically

All configuration is stored in ~/.config/drive-reorganizer/ — nothing is written to the project directory.

Usage

drive-reorganizer analyze

On subsequent runs, authentication is skipped (cached token is reused automatically).

Options

--no-browser    Use console-based OAuth (for headless/SSH environments)
--no-color      Disable colored output (useful for piping to a file)

Other commands

# Check that all configuration is in place
drive-reorganizer doctor

# Re-authenticate with Google (replaces saved token)
drive-reorganizer reauth

# Show version
drive-reorganizer --version

Privacy

  • OAuth scope: drive.metadata.readonly — cannot read file contents
  • File contents are never fetched or sent to Claude
  • Suggestions are read-only; nothing in your Drive is modified

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

drive_reorganizer-0.1.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

drive_reorganizer-0.1.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file drive_reorganizer-0.1.2.tar.gz.

File metadata

  • Download URL: drive_reorganizer-0.1.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for drive_reorganizer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 446e23f3e77812b17838d6532295f97e8d2a7e32ce8d27479bbd26fb4d5c500d
MD5 a6f83681e0da411a4f53eb8c82bc5bd6
BLAKE2b-256 03c692a3a1429eb7cda6f870bd5c47ab54d6d7690f82f0801669d32923898f8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for drive_reorganizer-0.1.2.tar.gz:

Publisher: publish.yml on Turnonac/drive-reorganizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file drive_reorganizer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for drive_reorganizer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bea26cfb8210659f1aceea00fea474dd77e563b5abddd3b56a3c2fc46b33e0c4
MD5 8919a9589fdf2a28fa40c096ec9dad2a
BLAKE2b-256 c528495fa2d7c274ee0025f3c13bb2cc481ad67bfa5970959572254cd9dba6d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for drive_reorganizer-0.1.2-py3-none-any.whl:

Publisher: publish.yml on Turnonac/drive-reorganizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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