Giter Site home page Giter Site logo

fsq-poplar / storage_visualizer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 63 KB

A simple python script that visualizes the chosen folder's structure using Pygame.

Python 100.00%
python filesystem-visualization disk-usage storage disk-space-analyzer

storage_visualizer's Introduction

Python File System Visualizer

A simple python script that visualizes the chosen folder's structure using Pygame.

File/folder size is proportional to the size of the rectangle on the screen, and structure is displayed by the "expansion" of the folders.

Usage

$ python files_visualizer.py folder_directory

Controls

Left click: Expand folder

Right click: Close folder

e: Expand folder and its subfolders

c: Close everything but the top level folder

Blurb

The original concept for this came from a school assignment; however, there were several aspects of the original program I did not like. Namely,

  • The original appearance of the program is awful
  • Information was displayed in a sub-optimal way
  • The controls were not optimal, with several unnecessary features

This, combined with the professor specifically stating that none of the assignment's starter code could be distributed, lead to me making a new version of the program from scratch. The only parts I have kept are the code I wrote myself for that assignment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.