Sign In

HowMuch ? ¯\_(ツ)_/¯

HowMuch ? ¯\_(ツ)_/¯

HowMuch

60% Works

Python Version Repo Size Last Commit Open Issues Closed Issues Pull Requests Stars Coffee Level Stress Level

Have you ever asked yourself,

"How much space have I wasted

on *.ckpt and *.safetensors checkpoints?" 🤔 Say hello to HowMuch: Checking checkpoint wasted space since... well, now! 😄

Enjoy this somewhat unnecessary, yet "fun-for-the-whole-family" DiskSpaceAnalyzer tool. 😄

Overview

HowMuch is a Python tool designed to scan your drives (or a specified directory) and report on the total space used by files with specific extensions, mainly .ckpt and .safetensors.

It outputs:

  • The total storage capacity of each scanned drive or directory.

  • The space occupied by .ckpt and .safetensors files.

  • The free space available.

  • A neat bar chart visualizing the above data.

Installation

From PyPI

You can easily install HowMuch via pip:

pip install howmuch

From Source

  1. Clone the repository:

    git clone https://github.com/1e-2/HowMuch.git
  2. Navigate to the cloned directory and install:

    cd HowMuch
    pip install .

Usage

Run the tool without any arguments to scan all drives:

howmuch

Or, specify a particular directory or drive to scan:

howmuch --scan C:

The results will be displayed in the console, saved to a text file (HowMuch_output.txt), and visualized in a bar chart (HowMuch_chart.png).

Contributing

Feel free to fork the repository, make changes, and open a pull request. All contributions are welcome!

License

This project is licensed under the MIT License. See LICENSE for details.

Author

For any additional questions or comments, please open an issue.

Screenshot_2083

image

1

Comments