Barahlush / gdisk-analyzer

Google Drive analytics tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gdisk-analyzer

Tool for analysing your Google Drive.
It collects files metadata and shows you, what takes the most space.
Uses Google Drive REST API.

Current implementation is a Flask server with a website.

Features:

  • Different handlers to make work with a Google Drive easier.
  • Received information stored in database.
  • If there were no changes in the user's Drive - tool uses saved data.
  • File analysis shows disk structure and heavy/old files and folders.

Getting started:

Here is a good instruction how to set up all the prerequisites: Google Drive API Quickstart.

Prerequisites

You need to have Python 3 and the Google Client Library installed:

pip install --upgrade google-api-python-client

Then install libraries from the requirements.txt:

pip install -r requirements.txt

The tool uses Google API credentials, so if you don't have one - you must make it here (create a project): Google Developer Console.

Since you have credentials, download it as json and put in your directory.
Then change the "credentials" string in app.py.

Running

Now you can run the server by executing the app.py file as:

python app.py

Then all you need is to open http://127.0.0.1:5000/ in your browser.

Feedback

All your thoughts you can send here: baraltiva@gmail.com

About

Google Drive analytics tool


Languages

Language:Python 72.2%Language:HTML 18.3%Language:CSS 9.4%