A simple disk space analyzer for *.ckpt & *.safetensors file extensions
Project description
HowMuch
**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
-
Clone the repository:
git clone https://github.com/1e-2/HowMuch.git
-
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
- idlebg - GitHub
For any additional questions or comments, please open an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.