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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for drive_reorganizer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1244c37dac4631f1fa068194f49096f87d2ede5d0f402319cf9cb84a19d18356
MD5 e96620697d2b8bfc3b643e0c904d81f0
BLAKE2b-256 9d0dcabd2e1c7beae71f1ee5af88fb83cffbbbcb38dfac29dfbd62ba6b5cb487

See more details on using hashes here.

Provenance

The following attestation bundles were made for drive_reorganizer-0.1.3-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